I have written several python scripts working both on Windows 7 and Ubuntu 16.04LTS for my 6404D.
But I am facing an issue in streaming mode, a script working fine on Windows reports an error on Linux (0x0D, PICO_INVALID_PARAMETER, A parameter value is not valid.) when calling the RunStreaming function of the driver.
Here are the values of the parameters for the call:
- Code: Select all
sampleInterval = 10
sampleIntervalTimeUnits = self.TIME_UNITS["NS"]
maxPreTriggerSamples = 0
maxPostTriggerSamples = 100000
autoStop = 0
downSampleRatio = 1
downSampleRatioMode = self.RATIO_MODE["NONE"]
I am using the latest version of the driver libps6000 is already the newest version (1.4.6-6r13).
Is there any known issues for the linux driver with streaming mode or is there anything wrong with my code?