LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Make analog or digital output square wave go to zero on trigger

Hello,

 

I am very new to the NI DAQ system.  I am trying to write a program in LabWindows that will make my output , a square waveform, go to zero when I  read a voltage above a certain limit on one of my other channels.  For my application I need this to happen very quickly, taking no more than a few hundred nanoseconds.  I  had initialy thought to use the puase trigger, but that does not change the output pulse from high to low when the event is triggered.  I looked at using the refference tigger, but again the value stays in the "high" state after the trigger event.  I am using a 6024E.  If someone can point me towards a function or an example of how to accomplish this, I would be very grateful.  From my internet research and tinkering with the example codes I am begining to fear that my 6024E is not well suited for this application.  

 

-Dustin

0 Kudos
Message 1 of 3
(4,305 Views)

Can you try generating an event to do this? I know that this would be software time but this may give you the output you are looking for. Where if the event is triggered you write a 0 to output. You may need to change the output when you hit the trigger, instead of just pausing.

Paolo F.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(4,270 Views)

Thanks for replying Paolo.  It still took too long to decrease the output to zero.  I have decided to go a different direction.  

 

Thanks again for your response.

0 Kudos
Message 3 of 3
(3,964 Views)