Jump to content
  • 0

AD2 Record Mode frequency can't be set


sam81

Question

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

  • 0

Yeah -- I've been using the single acquisition mode already. I'm trying to write a strip-chart style tool, which streams data directly from the AD2 instead of storing it in the capture buffer first. I chose 100Hz and 1000 samples as an easy consistency test, but I want to use this method to capture millions of samples further down the line. Is it possible to control the capture rate when using the record feature?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...