LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

encoder stopped or rotating, case event or shift register?

Hello, I need to examine the value in 'Value' and decide, if is changed since the previous reading, then consider it a

change of state (encoder is rotating, counter incremented), otherwise no (encoder stopped, counter stopped).

How to implement this check? Another case structure or a shift register for 'Value'?

Thank you

George

0 Kudos
Message 1 of 3
(4,018 Views)

I posted my example in your other thread.

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

Hi

Your use of the shiftregister is fairly new for me, and I'm using LabVIEW since 1993.

Please use only one read in the while and don't check the value change on first call.

First call is a function available in LabVIEW. You can find it with the search command.

greetings from the Netherlands
0 Kudos
Message 3 of 3
(2,691 Views)