ni.com is currently undergoing scheduled maintenance.

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

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting Edges

Hi,
 
I am trying to read the rising edges from my encoder.
 
It doesnt work and I would like to know if my VI program is supposed to work. (attachments)
 
 
 
Thank you,
 
Jack
 
Download All
0 Kudos
Message 1 of 3
(2,841 Views)

Hi Jack,

LabVIEW ships with some great DAQmx examples.  I would recommend checking out the counter examples.  In LabVIEW, select Help >> Find Examples.  Once the NI Example Finder has launched, navigate to Hardware Input and Output >> DAQmx >> Counter Measurements.

Hopefully this gets you on the right track!

Regards,

Kevin H

National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 2 of 3
(2,805 Views)

Thank you very much,

I just found my problem. The program was good but there was a false contact. When I was putting my Voltmeter on the screw, the contact was good and I was seeing 5V. But when I was getting it out, it was going to 0V !

Thank you,

Jack

0 Kudos
Message 3 of 3
(2,803 Views)