Jump to content
  • 0

Analog discovery 2 continuous data acquisition


Ting

Question

Hello all!

I am doing a university project which needs to use AD2 to do continuous data aquisition on analog signals. I need 12.8 kHz sampling frequency to record about 10 seconds data.

This project is implemented on labview. I found the existing libraries ('Digilent WF VIs' and 'AD2 toolkit') seem not having the continuous DAQ feature. I would like to ask, how I can set AD2 to continuous acquisition mode (acqmodeRecord) of in labview.

Any help would be appreciated! Thanks!

 

 

 

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

Hi @Ting

The Digilent WF VIs with newer WF version will perform record if the number of samples (time x rate) is higher than the device buffer size.
https://forum.digilentinc.com/topic/8908-waveforms-beta-download/

In MSO Read.vi make sure the allocated analog and/or digital data size suffice, adjust these to be at least the required number of samples.
Like here 200000 is suffice for 128000 (12.8kHz x 10)

 

image.png.5425f25d9a801efc998c8eaf4bed172d.png

image.thumb.png.7d3b115d6e7258858667767094a37374.png

Link to comment
Share on other sites

Hi @Ting

The FDwfAnalogInStatus/Sample can be used to retrieve one sample for each channel.
The MSO Read.vi can be used to capture up to device buffer size (AD 8k) of samples at up to 100MHz or to record more samples at lower rate, up to about 1MHz.

Link to comment
Share on other sites

Hi attila,

So I can't retrieve multiple samples output on Labview like C and Python?

In my project, AD2 is used to collect samples of a reference signal for phase locked loop. If it is possible, I hope AD2 can read immediate data output without losing samples.
In this case, I can directly do phase locked loop and measurement in real time.

Is there a way I can do it? Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...