Changes between Version 9 and Version 10 of Software/eAM/mInstr


Ignore:
Timestamp:
May 14, 2014, 7:52:34 PM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/mInstr

    v9 v10  
    55This service controls the RF test system that is the core of [wiki:Hardware/bDomains/cSandboxes/dSB4 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.
    66
    7 === set ===
     7=== set: Set a single attenuator value ===
    88
    99Set the attenuation value on given port pairs:
    1010
     11[[CollapsibleStart(set)]]
    1112{{{     
    1213  <service name="set">
     
    2526  </service>
    2627}}}
     28[[CollapsibleEnd]]
    2729
    2830Example: set the attenuation value between node1-1 and node1-2 to 20 dB
     
    3234}}}
    3335
    34 === get ===
     36=== get: Get a single attenuation value ===
    3537
    3638Get the attenuation between a given pair of ports
    3739
     40[[CollapsibleStart(get)]]
    3841{{{
    3942  <service name="get">
     
    4952  </service>
    5053}}}
     54[[CollapsibleEnd]]
    5155
    5256Example: get the attenuation between node1-1 and node1-8
     
    5660}}}
    5761
    58 === default ===
     62=== default: Set all attenuators to default values ===
     63
     64[[CollapsibleStart(default)]]
    5965{{{
    6066  <service name="default">
     
    6268  </service>
    6369}}}
     70[[CollapsibleEnd]]
    6471
    6572The default configuration sets all attenuators to 0 dB attenuation (i.e. full connectivity between all of the nodes including the WiMAX basestation).
    6673
    67 === status ===
     74=== status: Get all attenuator values ===
    6875
    6976Get attenuation values on all port pairs
    7077
     78[[CollapsibleStart(status)]]
    7179{{{
    7280  <service name="status">
     
    7482  </service>
    7583}}}
     84[[CollapsibleEnd]]
    7685
    7786{{{
     
    7988}}}
    8089
    81 === load ===
     90=== list: List all stored configurations ===
     91
     92[[CollapsibleStart(list)]]
     93{{{
     94  <service name="list">
     95     <info>This service list configurations from database.</info>
     96  </service>
     97}}}
     98[[CollapsibleEnd]]
     99
     100=== load: Load named configuration ===
    82101Load attenuator setting from the internal database of configurations.
    83102
     103[[CollapsibleStart(load)]]
    84104{{{
    85105  <service name="load">
     
    92112  </service>
    93113}}}
    94 
    95 === list ===
    96 {{{
    97   <service name="list">
    98      <info>This service list configurations from database.</info>
    99   </service>
    100 }}}
    101 
    102 
    103 === save ===
    104 Store current attenuator settings into internal database under the named configuration.
    105 
     114[[CollapsibleEnd]]
     115
     116=== save: Save current attenuator settings ===
     117
     118Store current attenuator settings under with the '''name''' into internal database .
     119
     120[[CollapsibleStart(save)]]
    106121{{{
    107122  <service name="save">
     
    114129  </service>
    115130}}}
    116 
    117 === delete ===
     131[[CollapsibleEnd]]
     132
     133=== delete: Delete named configuration ===
     134
     135[[CollapsibleStart(delete)]]
    118136{{{
    119137  <service name="delete">
     
    121139  </service>
    122140}}}
    123 
    124 === show ===
     141[[CollapsibleEnd]]
     142
     143=== show: Show named configuration ===
     144
     145[[CollapsibleStart(show)]]
    125146{{{
    126147  <service name="show">
     
    133154  </service>
    134155}}}
     156[[CollapsibleEnd]]
     157
     158=== Named Configurations ===
     159
     160[[CollapsibleStart(Standard topologies)]][[Include(Topologies)]][[CollapsibleEnd]]
     161
     162=== OEDL Support ===
     163
     164Attenuator values are between 0 and 63 dB.
     165
     166==== Using attenuation for link matrix ====
     167
     168{{{
     169...
     170require "matrix"
     171
     172c8 = Matrix[
     173  [ 63, 0,63,63,63,63,63, 0,63 ],
     174  [  0,63, 0,63,63,63,63,63,63 ],
     175  [ 63, 0,63,63,63,63,63,63,63 ],
     176  [ 63,63, 0,63, 0,63,63,63,63 ],
     177  [ 63,63,63, 0,63, 0,63,63,63 ],
     178  [ 63,63,63,63, 0,63, 0,63,63 ],
     179  [ 63,63,63,63,63, 0,63, 0,63 ],
     180  [  0,63,63,63,63,63, 0,63,63 ],
     181  [ 63,63,63,63,63,63,63,63,63 ]
     182]
     183
     184set_att_matrix(c8)
     185...
     186}}}
     187
     188==== Using gain for link matrix ====
     189{{{
     190...
     191require "matrix"
     192
     193c8 = Matrix[
     194  [  0,63, 0, 0, 0, 0, 0,63, 0 ],
     195  [ 63, 0,63, 0, 0, 0, 0, 0, 0 ],
     196  [  0,63, 0,63, 0, 0, 0, 0, 0 ],
     197  [  0, 0,63, 0,63, 0, 0, 0, 0 ],
     198  [  0, 0, 0,63, 0,63, 0, 0, 0 ],
     199  [  0, 0, 0, 0,63, 0,63, 0, 0 ],
     200  [  0, 0, 0, 0, 0,63, 0,63, 0 ],
     201  [ 63, 0, 0, 0, 0, 0,63, 0, 0 ],
     202  [  0, 0, 0, 0, 0, 0, 0, 0, 0 ]
     203]
     204
     205set_neg_att_matrix(c8)
     206...
     207}}}
     208
     209==== Loading saved configurations ====
     210
     211{{{
     212...
     213load_att_matrix("cycle-8")
     214...
     215}}}