Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with vi developed for optical encoder

Hello

Please some one help me in running the VI which i developed for optical encoder. I have attached the VI, in attachment files. I don't know whats wrong with it.

Jayaprakash.
0 Kudos
Message 1 of 5
(3,130 Views)
The reason the vi is not runnable is you do not have a default setting for each case

for each case structure, right click on the selection menu, say for case 0 , select

make this the default case


Do this for all case structure
0 Kudos
Message 2 of 5
(3,124 Views)
Now it's running , Thank you very much Dr.Imad

Jayaprakash.
0 Kudos
Message 3 of 5
(3,116 Views)
Hi Jayaprakash,

As an alternative to all those nested case statements - you might like to try this example code of mine.

The core logic of the three XOR functions is the same as that used in electronic hardware to decode digital quadrature signals into "increment" and "direction" (for digital counter inputs).

Hope this is might be of use to you.

Mark H.

P.S. I work for a company that designs and manufactures optical encoders.
0 Kudos
Message 4 of 5
(3,086 Views)

Hey, if you still check this acount, I'm an undergrad student trying to work with optical encoders and labview and would some appreciate correspondence.  Thanks!

0 Kudos
Message 5 of 5
(2,617 Views)