ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Posttriggering analog input

Hi,

I'm triggering my PXI4204 with an external trigger via PFI0 (about 1kHz). If I stop this trigger (i.e. disconnect it from PFI0-terminal), the DAQmx VI (see attachment) continuous to read data. I've a buffered acquisition with 10 samples per channel in a while loop (100ms).
How can detect that no trigger was received?
Why doesn't the VI timeout?

Note: I'm triggering more times than I read the the acquired data.

Thanks,
Andreas
0 Kudos
Message 1 of 2
(2,744 Views)
If a pin is connected to nothing, its state is undefined, it may float to some Voltage, and this might be detected as a trigger-signal by the hardware. Try to set the PFI0 to 0 Volts (for example by connecting it to a GND-Pin) instead of just disconnecting the signal.
0 Kudos
Message 2 of 2
(2,744 Views)