05-08-2013 11:45 AM
I need a vi that can trigger using an analog rising edge (1V), then produces a square wave (any square wave will do for now), and then show the measurement of the waveform. Attached is the code that I have made so far. Not sure how to get a trigger attached, or where to place the trigger, onto what I have done so far. Another question is where to have it triggered from, do I need to add another generate waveform to produce the trigger signal?
Any help is appreciated!!
Solved! Go to Solution.
05-08-2013 01:07 PM
BTW, I am using a NI USB 6351 for my DAQ. Not sure if this helps any but wanted to include that.
05-09-2013 06:06 PM
Hi,
You can place a DAQmx start trigger VI in the code at the top, between the DAQmx Timing and DAQmx write VIs, and then set the trigger type to "Analog Edge" and specify the channel to trigger from (in this case I think you would use the APFI line on your card). Check out the 'Voltage - Continuous Output' Example' if you need help implementing this in code, that example covers analog output with different types of triggering in a setup similar to yours.