07-22-2008 06:40 AM
07-22-2008 06:48 AM
07-22-2008 09:12 AM
07-23-2008 07:19 AM
12-29-2008 05:51 AM
DFGray wrote:
Shared variables will work for any data type, but some (e.g. references) do not make any sense in a global variable. If you need any sort of handshaking or synchronization, a custom TCP/IP solution will probably work better for you than network shared variables, although it will take longer to create.
Hi DFGray,
actually it seems that Shared Variables do NOT accept references as data type. It took me hours to find out why I could not write a big cluster of data as variant to a shared variable. Just producing generic error 42 all the time. Seems that I have to disassemble the cluster, get rid of the ref and bundle the rest again...
I wonder if this is documented behaviour, at least I could not find something on it.
D.
03-16-2009 01:03 PM - edited 03-16-2009 01:08 PM
Variant Shared Variables also do not accept the following I/O types (there may be others): Shared Variable Controls (BV Tag), DAQmx Task Names, and VISA Resource Names. Flatten to string before going "To Variant" for those (or Flatten their parent container). Otherwise, you get Error 42 (as of LV 8.6.1).
-Jason