11-09-2009 07:07 AM - edited 11-09-2009 07:10 AM
That's sufficient.....
Norbert
[Edit]: The behavior you are describing is not reproducable in LV 2009f2 with your attached VI. Can someone verify with LV 8.5?
11-09-2009 07:08 AM - edited 11-09-2009 07:12 AM
Intaris wrote:
The code is OK but the event case should be for the control "Multiplier 1" and not for "Value 1".
The multiplier 1 also has a event case with the same code in it. I guess you did not check the code.
Slyfer,
Intaris is correct. You have misunderstood the actual discussion. There is no need to have any code inside the value change event case of Value 1 control. You can just delete them.
My last post was understanding that you have a problem for the first time when you RUN the code. I guess the attached vi will solve your problem.
11-09-2009 10:44 AM
No I didn't check the code, my bad.
But the picture showed the event case for the wrong control either way...
Shane.
11-09-2009 11:10 AM
The key that I missed was to set up the Increment at the beginning of the program.
Then it's done only with multiply value changed event.
Without the initialization at the beginning there is a running bug.
Now it's ok.
thanks