08-16-2016 06:27 AM
Hi,
The following is being done on the NI PXI-6284.
I'm generating a 3ms pulse output on one of the PFI(PFI 12) outputs. When I start this pulse (Rising Edge) I have to start measuring one of the analog channel inputs (AI5).
Does anyone have an idea on how I can go about doing this?
I have attached a screen shot of what I've done.
Regards
08-16-2016 06:51 PM
Hi Riaan1,
Look for the example: "Analog Input\Voltage (with Events) - Continuous Input.vi".
First try to run this VI without using any trigger options, then...
Under "Trigger Settings" select the "Digital Start" tab and then select your PFI line.
Hope it helps!
08-17-2016 12:39 PM
Hello,
Please take a look at the snippet attached.
Basically, you are going to send a start trigger from the Digital Output task to start the Analog Input task (following the architecture shown in the attached image). The analog input task will be the slave task and the digital output will be the master task.
Also, here is a very useful document outlining synchronization using LabVIEW:
Synchronization Explained
http://www.ni.com/white-paper/11369/en/