To use the Testbed with LICOS, create 4 terminal windows and name them VSC, SIU, EPU0, EPU1.
- VSC:
and reboot.
xyplex lat-elf21
Exit xyplex and enter:cd "/nfs/slac/g/glast/online/VSC" fmx xyplex VSC_load_cmx.fmx --target=lat-elf21 --tag=mv2304
- Python:
from LICOS.scriptEngine.ScriptEngineConnector import ScriptEngineConnector p = ScriptEngineConnector('lat-elf21',None,None) p.start() p.bootSIU()
- SIU:
cd "/nfs/slac/g/glast/online/VSC" fmx xyplex siu.fmx --target=lat-elf23 --tag=rad750
- Python:
Wait 20 seconds
p.mainFeedOn(siuId=0, pduId=0) p.powerOnEpuOnly(epuId=0)
p.bootEPU(epuId=0)
- EPU0:
cd "/nfs/slac/g/glast/online/VSC" fmx xyplex epu.fmx --target=lat-elf24 --tag=rad750
- Python
Wait 20 seconds
p.powerOnEpuOnly(epuId=1)
p.bootEPU(epuId=1)
- EPU1:
cd "/nfs/slac/g/glast/online/VSC" fmx xyplex epu.fmx --target=lat-elf25 --tag=rad750
- To power on a TEM:
p.powerOnTemOnly(temId=0, pduId=0)
- To power on CAL frontends:
p.powerOnCalOnly(temId=0)
- To set the CAL bias voltage:
p.setBiasVoltageCal(temId=0, biasVoltage=0x5800)
- To power on TKR frontends:
p.powerOnTkrOnly(temId=0)
- To set the TKR bias voltage:
p.setBiasVoltageTkr(temId=0, biasVoltage=0x4000)
- To power on ACD free boards:
p.powerOnAcdOnly(freeId=0, pduId=0, supRed=0)
- Start the proxies and the scriptEngine:
python $ONLINE_ROOT/LICOS/telemetry/DiagnosticProxy.py --vscHost lat-elf21 --config $ONLINE_ROOT/LICOS/start/vsc.cfg
python $ONLINE_ROOT/LICOS/telemetry/TelemetryProxy.py --vscHost lat-elf21 --config $ONLINE_ROOT/LICOS/start/vsc.cfg
python $ONLINE_ROOT/LICOS/science/ScienceProxy.py --vscHost lat-elf21 --config $ONLINE_ROOT/LICOS/start/vsc.cfg
$ONLINE_ROOT/LICOS/start/scriptEngine.sh --server lat-elf21 --config $ONLINE_ROOT/LICOS/start/scriptEngine.cfg --vscConfig $ONLINE_ROOT/LICOS/start/vsc.cfg