Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI6002 How to read the counter input

Hello Everyone,

 

I have NI 6002 device and i have attached a flow sensor to the counter input of NI6002. How i can read the counter input so that i can count the number of edges(high , low points) .Pleas help. Thank in advance

0 Kudos
Message 1 of 2
(2,805 Views)

Hello Alan,

 

You should be able to use the Counter - Count Edges.vi example from LabVIEW. Just go to Help » Find Examples... and when the Example Finder loads, expand Hardware Input and Output » DAQmx » Counter Input and you'll find the example there.

 

Select the device's counter in the Counter control and the PFI you connected the signal to in Input Terminal. You can either count rising or falling edges after selecting one in Active Edge, but not both.

 

Hope it helps! Smiley Happy

Camilo V.
National Instruments
0 Kudos
Message 2 of 2
(2,749 Views)