LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read/Write Function reads wrong value?

Solved!
Go to solution

@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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 12
(306 Views)
Solution
Accepted by topic author B.Buerkert

Hy,

it double check all my connections. Everything is correct connected.

 

I solved the problem by modifing my code:

 

Untitled.png

 

Thanks a lot for all your help 🙂

0 Kudos
Message 12 of 12
(286 Views)