10-13-2006 03:29 AM - edited 10-13-2006 03:29 AM
Message Edited by Wirer on 10-13-2006 03:34 AM
10-13-2006 04:44 AM
10-13-2006 05:06 AM
10-13-2006
07:53 AM
- last edited on
07-25-2025
02:13 PM
by
Content Cleaner
I think what you are seing is simply a race condition. XControl facade vis must be defined as reentrant. Each time you set or get a property, the facade vi is called. (see help)
When you write a value to the string1 property, the facade vi is started (reentrantly) and runs for "N" milliseconds.
When you write to the string2 property, the facade vi is started (reentrantly), sets the value of string2, returns the passed in and exits.
The string1 instance of the facade vi finishes AFTER the string2 instance and updates the Display State Out with the values it received when it was started.
I've started thinking of XControls not so much as "custom front panel controls" and more like "transparent" Subpanels with a predefined static VI ref.
10-13-2006 08:57 AM
10-13-2006 09:56 AM
10-13-2006 10:02 AM
10-13-2006 11:35 AM
10-13-2006 01:57 PM - edited 10-13-2006 01:57 PM
Message Edited by Jarrod S. on 10-13-2006 01:58 PM
10-14-2006 10:18 AM