##// END OF EJS Templates
begin to work on:...
begin to work on: Bug 984 FFT retirée alors que en dehors du TBAD Bug 978 Mauvais nombre de FFT retiré lors du filtrage PAS commit before going back to previous state for 3.2.0.4 delivery

File last commit:

r194:72cdb2a15242 R3
r353:06a7ca24f3e7 R3++
Show More
LFRControlPlugin_startFsw.py
30 lines | 829 B | text/x-python | PythonLexer
/ python_scripts / LFRControlPlugin_startFsw.py
#!/usr/bin/lppmon -e
import time
proxy.loadSysDriver("SpwPlugin","SpwPlugin0")
SpwPlugin0.selectBridge("STAR-Dundee Spw USB Brick")
proxy.loadSysDriverToParent("dsu3plugin","SpwPlugin0")
proxy.loadSysDriverToParent("LFRControlPlugin","SpwPlugin0")
availableBrickCount = SpwPlugin0.StarDundeeGetAvailableBrickCount()
print "availableBrickCount = ", availableBrickCount
SpwPlugin0.StarDundeeSelectBrick(1)
SpwPlugin0.StarDundeeSetBrickAsARouter(1)
SpwPlugin0.connectBridge()
#SpwPlugin0.TCPServerSetIP("127.0.0.1")
SpwPlugin0.TCPServerConnect()
#LFRControlPlugin0.SetSpwServerIP(129,104,27,164)
LFRControlPlugin0.TCPServerConnect()
dsu3plugin0.openFile("/opt/DEV_PLE/FSW-qt/bin/fsw")
#dsu3plugin0.openFile("/opt/LFR/LFR-FSW/2.0.2.3/fsw")
dsu3plugin0.loadFile()
dsu3plugin0.run()
LFRControlPlugin0.TMEchoBridgeOpenPort()