I tried to use record mode with AD3. I use pydwf because of its good documentation.
I sent in a sine wave from W1 that further was digitized on 1+. The sine wave is also monitored with an external scope where I see no irregularity on the sine wave. See configuration attached in snippet.
The snippet also show how I try to loop and collect available samples from statusRecord().
Despite 1+ being configured with a 5 V range, it seems that it switches over to 50V range during the loop? See image.
How do you recommend me to go about this issue? I wish to record minimum 1 MSample, but preferably more, and with NO skip, it must really sample on External1.
Thanks for your help in advance, the forum helps a lot!
Edit: I should mention that first time I run the code after resetting everything it works as expected!! The problem shown below is only present from the second sample run and all consecutive sample runs. I checked the range with channelRangeGet, and its still 5V after...
Question
torbos
@attila@reddish
I tried to use record mode with AD3. I use pydwf because of its good documentation.
I sent in a sine wave from W1 that further was digitized on 1+. The sine wave is also monitored with an external scope where I see no irregularity on the sine wave. See configuration attached in snippet.
The snippet also show how I try to loop and collect available samples from statusRecord().
Despite 1+ being configured with a 5 V range, it seems that it switches over to 50V range during the loop? See image.
How do you recommend me to go about this issue? I wish to record minimum 1 MSample, but preferably more, and with NO skip, it must really sample on External1.
Thanks for your help in advance, the forum helps a lot!
Edit: I should mention that first time I run the code after resetting everything it works as expected!! The problem shown below is only present from the second sample run and all consecutive sample runs. I checked the range with channelRangeGet, and its still 5V after...
Kind regards
question.py
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now