LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

trigger pxie-4304 with pxie-6341

I have a PXIe-1082 chassis that contains a PXIe-6341 and a PXI-4304 module.  What is the best way to trigger the analog channel  (Ai0) in the -4304 to start reading then, after a few millisecond delay, output a digital signal from the -6341 (PFI 12).  The channel Ai0 will continue to read a device until the PFI 12 signal has finished.

 

Thank you,

Ron

0 Kudos
Message 1 of 4
(1,024 Views)

What do you mean when you say, "until the PFI 12 signal has finished"? Are you just outputting a digital high and you want to acquire until it goes back low?

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 2 of 4
(980 Views)

The signal is 300 Hz with varying duty cycles and runs for N number of seconds.  The analog input only needs to record a few milliseconds before the start of the signal and end recording after N seconds.

0 Kudos
Message 3 of 4
(961 Views)

You can code in a millisecond delay between the triggering of the first analog data acquisition and the PFI 12 signal generation. As for stopping the acquisition after the signal is finished, I would just have the analog input be configured to continuously acquire and then you can monitor the the PFI 12 signal. Once it has been detected that it has finished, just stop the continuous acquisition. 

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 4 of 4
(925 Views)