wiki:Software/eAM/mInstr

Version 14 (modified by seskar, 9 years ago) ( diff )

Instrumentation Aggregate Manager

This service controls the RF test system that is the core of Sandbox 4. It is used to control attenuation values between pairs of ports (ie. the eight (8) nodes and wimax BS) through the standard OMF URL based services. Current state of SB4 is available at visualization page.

set: Set a single attenuator value

Set the attenuation value on given port pairs:

Example: set the attenuation value between node1-1 and node1-2 to 20 dB

$ wget -O status http://internal2dmz.orbit-lab.org:5054/instr/set?portA=1\&portB=2\&att=20

get: Get a single attenuation value

Get the attenuation between a given pair of ports

Example: get the attenuation between node1-1 and node1-8

$ wget -O status http://internal2dmz.orbit-lab.org:5054/instr/get?portA=1\&portB=8

default: Set all attenuators to default values

The default configuration sets all attenuators to 0 dB attenuation (i.e. full connectivity between all of the nodes including the WiMAX basestation).

status: Get all attenuator values

Get attenuation values on all port pairs

$ wget -O status http://internal2dmz.orbit-lab.org:5054/instr/status 

list: List all stored configurations

load: Load named configuration

Load attenuator setting from the internal database of configurations.

save: Save current attenuator settings

Store current attenuator settings under with the name into internal database .

delete: Delete named configuration

show: Show named configuration

OEDL Support

How to use instrumentation AM from your OEDL script; Attenuator values are between 0 and 63 dB.

Using attenuation for link matrix

...
require "matrix"

c8 = Matrix[
  [ 63, 0,63,63,63,63,63, 0,63 ],
  [  0,63, 0,63,63,63,63,63,63 ],
  [ 63, 0,63,63,63,63,63,63,63 ],
  [ 63,63, 0,63, 0,63,63,63,63 ],
  [ 63,63,63, 0,63, 0,63,63,63 ],
  [ 63,63,63,63, 0,63, 0,63,63 ],
  [ 63,63,63,63,63, 0,63, 0,63 ],
  [  0,63,63,63,63,63, 0,63,63 ],
  [ 63,63,63,63,63,63,63,63,63 ]
]

set_att_matrix(c8)
...

Using gain for link matrix

...
require "matrix"

c8 = Matrix[
  [  0,63, 0, 0, 0, 0, 0,63, 0 ],
  [ 63, 0,63, 0, 0, 0, 0, 0, 0 ],
  [  0,63, 0,63, 0, 0, 0, 0, 0 ],
  [  0, 0,63, 0,63, 0, 0, 0, 0 ],
  [  0, 0, 0,63, 0,63, 0, 0, 0 ],
  [  0, 0, 0, 0,63, 0,63, 0, 0 ],
  [  0, 0, 0, 0, 0,63, 0,63, 0 ],
  [ 63, 0, 0, 0, 0, 0,63, 0, 0 ],
  [  0, 0, 0, 0, 0, 0, 0, 0, 0 ]
]

set_neg_att_matrix(c8)
...

Loading saved configurations

...
load_att_matrix("cycle-8")
...

Note: See TracWiki for help on using the wiki.