Script execution
This commit is contained in:
11
script/test/TestInvalid.py
Normal file
11
script/test/TestInvalid.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import ch.psi.pshell.epics.ChannelDouble as ChannelDouble
|
||||
import ch.psi.pshell.epics.InvalidValueAction as InvalidValueAction
|
||||
import java.lang.System as System
|
||||
|
||||
invalid = ChannelDouble("invalid", "SARUN15-UIND030:INVALID-PV", -1, True, InvalidValueAction.Nullify)
|
||||
avg = create_averager(invalid, 5, interval =2.0, name = "avg")
|
||||
|
||||
|
||||
invalid.monitored = True
|
||||
add_device(invalid, True)
|
||||
add_device(avg, True)
|
||||
Reference in New Issue
Block a user