Open NonoLePoulet opened 4 months ago
Hello.
For a project, i need to use a picoscope 3000 to aquire data, via a python script.
My code looks a little bit like this : ` from picoscope.ps3000 import PS3000
ps = PS300()
tsprate = 100e-3 winduration 100e3 size = int(tsprate * winduration)
sprate , msize = ps.setSamplingFrequency(tsprate,size) `
When trying to run this, i get met with : ` File "C:\Users\User\Anaconda3\lib\site-packages\picoscope\ps3000.py", line 327, in checkResult raise IOError('Error calling%s' % (inspect.stack()[1][3])
OSError: Error calling getTimestepFromTimebase `
Any help would be very appreciated, thanks.
Hello.
For a project, i need to use a picoscope 3000 to aquire data, via a python script.
My code looks a little bit like this : ` from picoscope.ps3000 import PS3000
ps = PS300()
tsprate = 100e-3 winduration 100e3 size = int(tsprate * winduration)
sprate , msize = ps.setSamplingFrequency(tsprate,size) `
When trying to run this, i get met with : ` File "C:\Users\User\Anaconda3\lib\site-packages\picoscope\ps3000.py", line 327, in checkResult raise IOError('Error calling%s' % (inspect.stack()[1][3])
OSError: Error calling getTimestepFromTimebase `
Any help would be very appreciated, thanks.