Ting Posted April 5, 2021 Share Posted April 5, 2021 Hi all, I have a question about AD2 immediate sampling data output. I am doing a university project which needs AD2 to do analog signal measurement on LabVIEW. AD2 measures a signal with 12.8 KHz sampling frequency. I am wondering if I can get the immediate measured data without sample lost? Thanks! Link to comment Share on other sites More sharing options...
attila Posted April 8, 2021 Share Posted April 8, 2021 Hi @Ting Could you explain what do you mean by "immediate sampling data output" ? To sum up the replies in your other post, you can capture: - one sample (ADC conversion) from each scope input using FDwfAnalogInStatus/Sample functions - capture up to 8192 samples at up 100MHz on each channel with the VIs or FDwfAnalogIn functions with acqmodeSingle - capture "unlimited" number of samples at up to about 1MHz using the VIs or FDwfAnalogIn functions with acqmodeRecord This streaming/record process could result in buffer overflow, data corruption. In this case the rate should be lowered. Link to comment Share on other sites More sharing options...
Ting Posted April 11, 2021 Author Share Posted April 11, 2021 Hello attila, Thanks for your reply. What I need is to retrieve "rgdSamples[N]" in LabVIEW: I tried to implement the LabVIEW code with acqmodeRecord mode, but I cannot get the recorded data out. Could you have a look please? Thanks! Digilent_WaveForms_Stimulus Response (MSO and FGEN)_002 (1).vi Link to comment Share on other sites More sharing options...
attila Posted April 12, 2021 Share Posted April 12, 2021 Hi @Ting You can use the VIs to perform recording: Link to comment Share on other sites More sharing options...
Ting Posted April 12, 2021 Author Share Posted April 12, 2021 Hello attila, In that case, I need to wait the vi finish recording. Then I can get the measurement results. Is there a method I can get single measurement per time, instead of batch processing? Thanks! Link to comment Share on other sites More sharing options...
Question
Ting
Hi all,
I have a question about AD2 immediate sampling data output.
I am doing a university project which needs AD2 to do analog signal measurement on LabVIEW.
AD2 measures a signal with 12.8 KHz sampling frequency.
I am wondering if I can get the immediate measured data without sample lost?
Thanks!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.