Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

setup counter gate input in CVI

Hi,
I have a PXI-6733 board and I want to make a gated edge counting using CVI.
I managed to make it count the edges but I cannot make the counting pause and resume from the gate input.
 
I feed 200 pulses to the source input and a (simultaneous) wider pulse to cover all or some of the 200 pulses to the gate input.
No matter how I change the gate pulse the counter always gives me 200, even if a do not connect the gate signal at all!
 
I went through the DAQmx and hadware documentation a few times but I could not find hoe I am going to "enable" the gate input so that counting is active only when the gate input is high.
 
Can anybody help me achieving this considering in mind that I will be coding it in CVI.
Regards,
S. Eren BALCI
IMESTEK
0 Kudos
Message 1 of 2
(2,870 Views)
Hello,

I have answered this forum post.  You can find the answer here.

Regards,

Jesse O.
Applications Engineering
National Instruments
Jesse O. | National Instruments R&D
0 Kudos
Message 2 of 2
(2,843 Views)