Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

analog trigger with NI9205 PFI0

I have a problem to trigger an analog acquire with NI9205 (C module in  Compact DAQ)

i use the PFI0 line, but the acquire don't start when i send a trigger gignal (5 to 0V)

 

NI9205_trigger.JPG

 

the error:

 

NI9205_trigger_error.JPG

 

could you help me?

 

Thanks a lot!

0 Kudos
Message 1 of 6
(7,514 Views)

You set your task up to run at a rate of 2400 samples per second, and request 64 samples to be read. This means that it will take at least 37.5ms to take the data.

 

Your DAQmx Read function has a timeout of 10ms set.  This means that the read will always timeout before the required samples are read as the error is indicating.

 

For this configuration you should not need to wire the timeout setting of the DAQmx read at all, I recommend removing that input!

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 2 of 6
(7,513 Views)

I set the timeout of the analog read, at 10S,

i try to link the PFI0 to GND ,and the program work correctly!

 

but if i link the PFI0 line with a signal (serial 422 converted with receiver ADM488) the program don't trigger!!!

Smiley Sad

 

0 Kudos
Message 3 of 6
(7,502 Views)

the Ain is link with PFI0, i hope don't is this the problem

0 Kudos
Message 4 of 6
(7,497 Views)

The task is set to trigger on a falling digital edge. Does your signal fit these requirements?

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 5 of 6
(7,483 Views)

yes, ,i have a TTL signal

0 Kudos
Message 6 of 6
(7,454 Views)