LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can counter count continiously from a rising edge without stop at the following falling edge of the GATE external signal ?

I have configured the 'Event or time counter config' vi to count continiously using the counter 0 on the device 1, start counting on rising edge of the GATE CTR0 external pin, counter type DAQ-STC, internal frequency of the counter : 100000. After calling the 'Counter start' vi and I have notice that my program only count during the high level of the external GATE signal. It starts counting on the rising edge of the external GATE signal and stop counting on the immediatly following falling edge of these external signal. It doesn't count continiously....

Is it normal ??

Thanks. Best regards.
0 Kudos
Message 1 of 4
(3,100 Views)
You need to connect your Trigger to the PFI corresponding to Trigger (PFI3???been a while) not Gate. The Gate signal means it will only count while the signal is high (or low, depending on how you set it). The Trigger is what you want. Make sure you set it to rising edge.

Good luck
0 Kudos
Message 2 of 4
(3,100 Views)
On my DAQPad-6020E User Manual, there are two Input PFI TRIG(1 and 2). But if I have well understand these are only for Acquisition mode not for Counter mode. So I don't know how to use these TRIGs input for starting the COUNTER 0.. Is there something else that I don't know about ?? Can you explain me how the TRIG input can start the COUNTER ??
0 Kudos
Message 4 of 4
(3,100 Views)
Hello;

That is the expected behavior for that type of counter. The DAQ STC chip (the one in the E-series DAQ devices) doesn't support trigger counter operation, only gated level operations, that is why your counter will stop counting at some points. It will only work during the high level of the gate signal.

To have the counter to be trigger by the rising edge of the gate pulse, and then keeping counting after that event, you need to work with a boad from the 660x family. Those board have a different counter chip onboard, that supports triggered operations by edge.

Regards
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,100 Views)