Hi,
I think by variables you mean controls that are updated with locals?
If so, they are updated the first time you write them. But perhaps you read
them before the are written (race condition). Try to debug the program (with
the light bulb) to see what happens. To aviod race conditioning, you have to
force the sequence of execution with structures (loops, cases or (preferably
flat) sequence structures.
If this is not it, cuold you send an example?
Regards,
Wiebe.
"WeberM" wrote in message
news:5065000000080000008CEC0000-1079395200000@exchange.ni.com...
> i often work with variables. sometimes i read from a varibale at the
> beginning of the aplication, and save from a variable at the end of
> the appplication.
> the problem is that the values
aren't right at the first time.the
> values only changes at the second call.