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

27
script/bs4.py Executable file
View File

@@ -0,0 +1,27 @@
import ch.psi.pshell.bs.Scalar as Scalar
import ch.psi.pshell.bs.Waveform as Waveform
import ch.psi.pshell.bs.Stream as Stream
import ch.psi.bsread.configuration.Channel as ReceiverChannel
s = Stream("stream", bs)
channels = ['Int8Scalar',
'Int16Scalar', 'Int32Scalar', 'Int64Scalar',
'UInt8Scalar', 'UInt16Scalar', 'UInt32Scalar', 'UInt64Scalar',
'Float32Scalar', 'Float64Scalar'
#, 'BoolScalar', 'StringScalar',
]
for c in channels:
add_device(Scalar(c, s, c, 10), True)
channels = [ 'Int8Waveform', 'Int16Waveform', 'Int32Waveform', 'Int64Waveform',
'UInt8Waveform', 'UInt16Waveform', 'UInt32Waveform', 'UInt64Waveform',
'Float32Waveform', 'Float64Waveform', 'BoolWaveform']
#for c in channels:
# add_device(Waveform(c, s, c, 10), True)
add_device(s, True)
set_device_alias(stream, "PulseID")
bscan(s , 100)