07-03-2008 02:04 PM - edited 07-03-2008 02:06 PM
07-03-2008 02:14 PM - edited 07-03-2008 02:15 PM
07-03-2008 02:17 PM
07-03-2008 02:18 PM
07-03-2008 02:21 PM
07-03-2008 02:24 PM
07-03-2008 02:29 PM - edited 07-03-2008 02:30 PM
This will cause a race. Sub vi executes before numeric is updated
07-03-2008 02:44 PM
StevenA wrote:
This will cause a race. Sub vi executes before numeric is updated
07-03-2008 03:21 PM
altenbach wrote:
Not necessarily. The subVI only gets the reference to the control, not the value. If the subVI reads the value property after enough time has passed, it will read the updated value. It all depends what's going on inside the subVI.altenbach your correct. This is what I was trying to illustrate with the trivial example shown. It's a race condition if you execute the property node inside of Test 2 before 1 ms has expired (for this example). Looking back at the original question, it is highly unlikley that you could get test 2 (with only the property node inside) to execute the property node before the update of the numeric out of Test 1.
07-03-2008 04:07 PM - edited 07-03-2008 04:09 PM