LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I synchronize pulse Width and analog inputs

Hi all,
I have an E series card using DAQ mx VIs, my question is....
I'm using a CI pulse width mx VI and a analog input VI
how do I synchronize an analog sample with the egde of the pulse width
sample.
I've been looking at the mx trigger property node but can't figure it out.
Any help would be appreciated.

Nick
0 Kudos
Message 1 of 2
(2,213 Views)
Nick:

Using DAQmx, this is going to be very easy for you! You should be able to use the rising edge of your pulse signal (connected to a PFI line on E-series board) to trigger your Analog Input (AI) operation. You would use the DAQmx Trigger.vi before the DAQmx Start Task.vi for the Analog Input task. Tell it to trigger off of the rising edge of the correct PFI line. I have attached a LabVIEW 7.0 example...

Good Luck!

Sincerely,
Brooks Bailey
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,213 Views)