04-12-2016 08:14 AM
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
04-13-2016 04:52 PM
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?
04-14-2016 06:44 AM - edited 04-14-2016 06:44 AM
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.
04-15-2016 01:58 PM
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.