Script execution
This commit is contained in:
@@ -20,10 +20,11 @@ phase.config.maxValue = 360.0
|
||||
phase.config.resolution = 0.5
|
||||
phase.initialize()
|
||||
|
||||
st = Stream("ICTstream", dispatcher)
|
||||
q = st.addScalar("Charge", "SINEG01-DICT215:B1_CHARGE", 1, 0)
|
||||
st.initialize()
|
||||
st.start(True)
|
||||
#st = Stream("ICTstream", dispatcher)
|
||||
#q = st.addScalar("Charge", "SINEG01-DICT215:B1_CHARGE", 1, 0)
|
||||
#st.initialize()
|
||||
#st.start(True)
|
||||
q = Channel("SINEG01-DICT215:B1_CHARGE-SIM", type = 'd', alias='ICT-Q')
|
||||
|
||||
try:
|
||||
qb = create_averager(q, nb, 0.100)
|
||||
@@ -33,7 +34,8 @@ try:
|
||||
chargerms = [val.stdev for val in r.getReadable(0)]
|
||||
finally:
|
||||
phase.close()
|
||||
st.close()
|
||||
q.close()
|
||||
#st.close()
|
||||
|
||||
#Setting the return value
|
||||
y = charge
|
||||
|
||||
Reference in New Issue
Block a user