Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Trigger to break While loop

I am using Labview 7.1 and a PCI-6251 DAQ to create an analog waveform.  The program uses a trigger to turn the waveform output on and off.  Included in the program is a while loop that needs to be broken for the amplitude and frequency of the waveform to be changed.  What I would like to know is if it is possible to break the while loop using the 0V-5V transition of the digital trigger that I use to turn on/off the waveform output?  Thanks.
0 Kudos
Message 1 of 2
(3,137 Views)
Thank you for contacting National Instruments.
 
As of NI-DAQmx 8.0, change detection is now possible with M Series DAQ devices! When used in conjunction with a timed loop, change detection can be used to respond to a hardware event (such as a transition on a digital line) in software. I recommend that you take a look at the "Event Response.vi" example in the NI Example Finder.
--
Michael P
National Instruments
0 Kudos
Message 2 of 2
(3,123 Views)