This commit is contained in:
sfop
2016-12-09 11:48:09 +01:00
parent dee1df0de5
commit 118255e5b3
8 changed files with 80 additions and 24 deletions
+14
View File
@@ -0,0 +1,14 @@
st1 = Stream("st1", dispatcher)
add_device(st1, force = True)
st1.addScalar("mcpu", "SINDI01-RLLE-STA:MASTER-CPUTIMER", 10, 0)
st1.addScalar("scpu", "SINDI01-RLLE-STA:SLAVE1-CPUTIMER", 10, 0)
#st1.addWaveform("phase", "SINXB01-RWVG100-DCP10:FOR-PHASE", 10, 0, 2048)
#st1.addWaveform("amplt", "SINXB01-RWVG100-DCP10:FOR-AMPLT", 10, 0, 2048)
st1.initialize()
st1.start()
try:
#bscan (st1, 10, title="bscan")
tscan (st1.getReadables(), 10, 1, title="tscan")
x = st1.take()
finally:
st1.close()