11-25-2009 03:58 PM
I still think there is a race condition in the original but I suspect that with the sequence structure, the output does not get updated because the coercion from a value string to a DAQ device name is not correct. I don't know where the conversion from DAQ device name to string is supposed to happen but seems the value property itself does not contain it. If you wire the subVI correctly, everything works as expected.
11-25-2009 04:13 PM - edited 11-25-2009 04:17 PM
I like your point about conversion. Suprisingly enough, if you substitute device name by visa resource name or similar, it works as it should. It is also strange that the data type of the value is string an not DaqMx device.
But about the race condition: Dennis, who is performing the write in the original vi? Or what is your definition of the race condition? The one I am accustomed to includes writing (say, this one).
I can imagine only one write that is being performed: somewhere under the hood in one of the 5 copies of the data in the control (by AQ@lavag.org). Did you mean that?