Search found 3 matches

by adescour
Thu Jun 23, 2016 9:33 am
Forum: Linux
Topic: 6404D streaming on Ubuntu 16.04LTS
Replies: 4
Views: 29222

Re: 6404D streaming on Ubuntu 16.04LTS

I changed the enum to c_int32 and it is now working.
Thank you very much for your help Mario.

Best regards
Adescour
by adescour
Wed Jun 22, 2016 12:54 pm
Forum: Linux
Topic: 6404D streaming on Ubuntu 16.04LTS
Replies: 4
Views: 29222

Re: 6404D streaming on Ubuntu 16.04LTS

The argtypes are passed as following: m = self.lib.ps6000RunStreaming(c_int16(self.handle), byref(sampleInterval), c_int16(sampleIntervalTimeUnits), c_uint32(maxPreTriggerSamples), c_uint32(maxPostTriggerSamples), c_int16(autoStop), c_uint32(downSampleRatio), c_int16(downSampleRatioMode), c_uint32(b...
by adescour
Wed Jun 22, 2016 11:18 am
Forum: Linux
Topic: 6404D streaming on Ubuntu 16.04LTS
Replies: 4
Views: 29222

6404D streaming on Ubuntu 16.04LTS

Hi, 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 ...