LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with my code

Hi,
my code is giving me trouble. Ok! I want to move the needles guage to diffent positions. right now, I am concetrating on moving the  red needle but as it move the other needle should also move but that one is not troubling me, i have done it. The problem is I want the loop to terminate when the red needle reach a value of 270, but it does not. I have posted the main VI and the subVI I have used to test the code.
 
Please help!!
Download All
0 Kudos
Message 1 of 3
(2,460 Views)

Hi netee,

your program do exactly what you want, the only problem is if the value you enter is exactly 270, but this depends on: see this thread

Mike



Message Edited by MikeS81 on 04-04-2008 10:42 AM
0 Kudos
Message 2 of 3
(2,457 Views)
Using exact numbers with floating point is troublesome



Message Edited by JeffOverton on 04-04-2008 08:09 AM
0 Kudos
Message 3 of 3
(2,432 Views)