10-26-2009 04:13 PM
I am having a problem getting the string to shared variable to function correctly. Specifically the "Valid Shared Variable?" output. It always give a false output even when I know the variable is deployed. Could it be that it only functions correctly on shared variables from the localhost and not a remote system? If so is there another way to check?
Thanks
Todd
10-27-2009 05:54 PM
Todd,
Is this an IO variable made with an IO server? If so, this is a known issue that they always output 'False'
As far as nework variables on remote systems, I can try this out and let you know if it works or not.
10-29-2009 08:52 AM
Thanks for the reply Rob,
Yes this is a variable made by an IO Modbus server on a remote system. I searched all over and didn't find find this as an issue but thanks for brining it to my attention. Is there another way to verify the validity of a shared variable?
Thanks
Todd
10-30-2009 04:22 PM
There is a community example on this at http://decibel.ni.com/content/docs/DOC-3861
The DLL is included in DSC, but if you have 2009 you may have to relink it. There is a boolean output for valid in this as well. Pop this in a subvi, and you have the functionality you are looking for.