Skip to content

(PS3000) OSError : Error calling getTimestepFromTimebase #203

@NonoLePoulet

Description

@NonoLePoulet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions