New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

19
script/bs2.py Executable file
View File

@@ -0,0 +1,19 @@
import ch.psi.bsread.Receiver as Receiver
import ch.psi.bsread.ReceiverConfig as ReceiverConfig
import ch.psi.bsread.configuration.Channel as ReceiverChannel
\
c1 = ReceiverChannel("Int32Scalar", 10)
config = ReceiverConfig(socket)
receiver = Receiver(config)
receiver.connect()
try:
while(True):
message = receiver.receive()
print "----------------"
for channel in message.getValues().keys():
print channel , " = " , message.getValues()[channel].getValue().array().tolist()
break
finally:
receiver.close()