01-23-2014 08:26 AM
@B.Buerkert wrote:
If i set the "Input Enable" to false, the "false" value is given to the Sub VI with the encoder code.On Host VI my position stays after running the VI at "0".
If I set the "Input Enable" to True, I read in the real Inputs to the Sub VI.
(But I connected them to ground!, so they should be also recognize as "false")
On Host VI the position switch to "2" after i start it.
That tells me that you do not have the right inputs tied to ground. If they were truely tied to ground and outputting FALSE at all times, then you would be in the same situation as having the inputs disabled. Double check your wiring.
01-28-2014 06:11 AM
Hy,
it double check all my connections. Everything is correct connected.
I solved the problem by modifing my code:
Thanks a lot for all your help 🙂