I've been writing a software defined instrument in python (with the AD2), and I've been struggling to properly use the "record" streaming acquisition mode. To confirm that it wasn't my code, I changed the acquisition rate (in Hz) to 100 and samples to 1000 in the example analogInRecord.py. Since the number of samples is ten times the acquisition rate, I expect it to stream for ten seconds. However, it only seems to stream for a second or two. What am I doing wrong?
Question
sam81
Hi all,
I've been writing a software defined instrument in python (with the AD2), and I've been struggling to properly use the "record" streaming acquisition mode. To confirm that it wasn't my code, I changed the acquisition rate (in Hz) to 100 and samples to 1000 in the example analogInRecord.py. Since the number of samples is ten times the acquisition rate, I expect it to stream for ten seconds. However, it only seems to stream for a second or two. What am I doing wrong?
Best,
SamAD3analogIn_Record.py
AD3analogIn_Record.py
Link to comment
Share on other sites
3 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