-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues With changing the sampling interval #150
Comments
It would help if you shared the code you are using. Could you please share that? |
if name == "main":
plt.show() the same on as the one colin has in the examples folder: https://github.com/colinoflynn/pico-python/blob/master/examples/ps2000_demo.py |
Do you get any error? |
This is my error(Error calling _lowLevelGetTimebase) |
If i recall correctly, timebase is something like the sampling time. Was that your understanding? |
I ran into this issue too! This seems to be because of the "sampling_interval = obs_duration / 4096" line. I think sometimes the calculation will result in taking more samples than the maximum (My 2204a can only sample 3968 samples) and that makes the setting of the interval fail. I reduced the divisor and got it working! |
patches are welcome. happy to review and to release. |
it is appreciated if you can justify the patch with a screenshot from documentation. |
Hello, I just started using these scripts to run my picoscope via the terminal. I am running into an issue in that I am not able to easily change the length of recording and the sampling rate. I am new to hardware scripting so any help would be great! I am probably missing something dumb.
The text was updated successfully, but these errors were encountered: