This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

View File

@@ -0,0 +1,15 @@
class Listener (DeviceListener):
def onValueChanged(self, device, value, former):
sin.removeListener(self)
print "--"
try:
print out.read()
print "Ok"
except:
print sys.exc_info()[1]
out.setTrustedMonitor(False)
sin.addListener(Listener())
c = create_channel("TESTIOC:TESTCALCOUT:Input")