LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start data aquisition when trigger appears but with 20ms delay

Hello Ceties,

you should hook an indicator to the itaretion index of the while loop, could you tell how many time the loop runs?
Also put an indicator to the number of samples value
Does it help if you set the timing of the counter to continious?
Maybe you should put the triggering in the analog input loop? and let the counter loop run continously?

Are you sure that the trigger arrives at the board? (use an external scope)

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 11 of 12
(495 Views)
Hello Ton,
I'm pretty sure that trigger appears on the board. It was first thing I checked.

-while loop runs OK until stop is pressed. There isn't problem

I tried to change number of samples and sample rate. If I have sample rate Fs=4M and number of samples Ns=8000 it doesn't capture any data (AvailSampPerChan is still = 0). But if I change Ns=100 it captures data. On the other hand when I change Fs=100k and Ns=80000 it starts data acquisition but when I capture 53th vector it stops capturing data but while loop still runs (with AvailSampPerChan=0). Other strange thing is that it captures slightly more than 8000 in the beginning.

-set the timing of the counter to continuous doesn't help

Maybe you should put the triggering in the analog input loop? and let the counter loop run continuously?
I'm sorry I don't know how this realize.

Message Edited by ceties on 10-04-2006 07:11 AM

LV 2011, Win7
0 Kudos
Message 12 of 12
(496 Views)