LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger loop with an external waveform

Hi All,

My problem is the following: I need to add up consecutive readouts (waveforms) form an instrument (Tektronics, TDS7154B) untill some treshold is reached. I have already configured the instrument, so I can capture readouts via GPIB. Now, each readout is triggered externally by other channel of the same oscilloscope. Is there any structure (or some sequence of structures ) that could be triggered externally by the scope, so that it executes only when triggering event occurs?

Best,

Lukasz

0 Kudos
Message 1 of 2
(2,677 Views)

I think you can set up the timing source for a timed loop to run from an external trigger.

You can then use a DAQmx device counter input as the timing source.

 

Have a look at the "Event Response.vi" in the examples.

(C:\Program Files\National Instruments\LabVIEW 8.5\examples\DAQmx\Control\Event Response.llb\Event Response.vi)

 

http://digital.ni.com/public.nsf/allkb/1A2AC87AAABCB70986257164000146FD

 

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 2
(2,665 Views)