Within my real-time project, on the host VI running on my Windows PC, I am attempting to write to a number of network-published shared variables. All of these write operations are successful (meaning that I can subsequently read them on the RT target, a cRIO-9012), with the exception of those network-published shared variables with the data type defined as variant. I'm not quite sure what is causing the problem.
I am taking the array of clusters shown here...
...and passing it through a "To Variant" VI, and then subsequently writing to the shared variable (data type: variant). Diagnosing the failure of the real-time VI to read data, I found that the shared variable write on the host VI was producing the following error:
Error -2147467259 occurred at Shared Variable in PC host TTS CTRL.vi
Possible reason(s):
LabVIEW: (Hex 0x80004005) Unspecified error.
=========================
NI System Configuration: (Hex 0x80004005) Miscellaneous operation failure.
This error or warning occurred while writing the following Shared Variable:
\\My Computer\Network Shared Variables\TC Group Assignment Array - Network
\\128.144.90.143\Network Shared Variables\TC Group Assignment Array - Network
...where 128.144.90.143 is the IP address of the PC.
Any thoughts?
Sean