Scott:

For single-buffered triggered acquisitions (this example), the
acquisition times out unless the trigger is received before (time
limit in sec - total acquisition time).  You can determine "total
acquisition time" by the equation: total time = # scans to acquire /
scan rate.  For example if we want 1000 samples at a scan rate of 1000
Hz, our total time = 1000 samples / 1000 Hz = 1 second.  This means
that the "time limit in sec" should be the total time we wish to wait
for the trigger plus the total time value (1 second).  You can use
very large timeout values (for example, 10 seconds).

For your application, I would suggest a very large time limit (maybe
60 seconds?).  This way you don't have to worry about the timeout.  It
is, however, necessary to use a timeout value.  This is what keeps the
LabVIEW code from going into an infinite loop if a trigger never
occurs.  This is why the timeout is required.

Best of luck!

Sincerely,

Brooks B
Applications Engineer
National Instruments

Reply via email to