Hi. Do you have any example Python code for multi-channel acquisition on a PL1012? I'm having some issues with the channel definitions and what comes back - only the first channel I specify contains useful data.
Having modified the streaming example code, I define:
numChannels = 4
channels = (ctypes.c_int16 * numChannels)(1,2,3,4)
status["setInterval"] = pl.pl1000SetInterval(chandle, ctypes.byref(usForBlock),noOfValues, ctypes.byref(channels), numChannels)
Doubtless this is some newbie error on my part
Post general discussions on using our drivers to write your own software here
1 post • Page 1 of 1