04-25-2006 01:31 AM - edited 04-25-2006 01:31 AM
Message Edited by kingkong on 04-25-2006 01:33 AM
04-25-2006 02:27 AM - edited 04-25-2006 02:27 AM
Hi Kong,
Look carefully at the condition being used to stop the loop. Do the values being compared change while the loop is running?
You're comparing two floats for equality, so even if "Set" and "Measured" agree to 14 decimal places, you'll keep looping. Use the "In Range and Coerce" Function to terminate when values are close.
There's an uninitialized string shift-register which will have a value after the first run. Subsequently, when you press run, control values will start with some (arbitrary) value. Give the left shift-register an initial value (empty-string.)
Cheers.
Message Edited by Dynamik on 04-25-2006 02:29 AM
04-25-2006 06:19 AM
04-25-2006 06:29 AM
You can make the upper limit
+Inf
Ben
04-25-2006 06:43 AM
Sorry Ben, I dun quite get it.
If so, then how do I compare 2 values(which are variables) at 2 decimals place precision?
04-25-2006 07:48 AM
Please disregard my last.
its a typical pre-cafeine reply.
Ben
04-25-2006 09:42 AM
04-25-2006 09:19 PM
04-26-2006 05:42 AM - edited 04-26-2006 05:42 AM
Message Edited by kingkong on 04-26-2006 05:42 AM
04-26-2006 08:56 AM
@kingkong wrote:
What should I do now?