From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

up/down preset counter VI for LabView

   Has anyone created a VI for LabView that implements the following capability.

   Read logic level from a digital I/O board that have inputs A,B,and I from a incremental shaft encoder to determine shaft position. The encoder output 200 steps per rotation. Therefore, the counter needs to have the capability to be set to 199 if the shaft rotates ccw three degrees from home.

   The counter increments with a clockwise movement and decrements with a counterclockwise rotation.

   I will greatly appreciate any suggestions.

0 Kudos
Message 1 of 2
(7,351 Views)

It would make more sense to post this in the LabVIEW forum or in one of the hardware forums. 🙂

(The feedback forum is for the discussion of this web site)

0 Kudos
Message 2 of 2
(7,339 Views)