Invalid Data Type Error Using Network-Published Variables

Updated Feb 22, 2019

Reported In


  • LabVIEW


  • NI-DAQmx

Issue Details

I am trying to create a network-published variable in LabVIEW to store data from a custom control. However, when I select From Custom Control... in the Shared Variable Properties menu and navigate to my control, I receive the generic error pictured below:


Not all LabVIEW variables are supported by network-published variables. The list of unsupported variables is known to include:
  • VISA session handles
  • DAQmx session handles

If you are not using any of the listed data types and are still receiving this error, make sure that your custom control includes only the data that will be directly used by the receiving program.

Additional Information

  • Generally speaking, system-specific variable types like VISA and DAQmx sessions are not supported by network-published variables as references that are valid on one machine will not be valid on another machine.
  • You can troubleshoot this error by removing individual data types from your custom control until you identify the data types that are not supported. In almost all cases, these data types are not supported because they are not useful to a remote machine and should not be sent over the network in the first place.


Not Helpful