02-23-2010 11:21 AM
hi,im new here..
i have a question..how can i repeat an operation if the condition or comparison is not true...
if the condition is true, then procede to next operation.
thanks
02-23-2010 11:41 AM
02-23-2010 12:44 PM
the task is to randomly simulate a number greater than 80,if the number less than 80, it will continuously simulated a number. if the number is greater than 80,
it will stop the loop,add with another number and display the result.. the problem here is how can i obtain a true output inside the loop
02-23-2010 12:46 PM
02-23-2010 12:48 PM
Try using the "Greater Than" function found in the Comparison palette, instead of the Express VI you're using now.
02-23-2010 12:56 PM
This VI just points out how dynamic data can be totally misused and misunderstood. The result of the comparison would be a true/false and it is correctly stopping the loop but the output is also being used to represent a number. Just plain wrong. If you had used the normal comparison function, as mentioned, all of this would have been clear.
02-23-2010 01:09 PM