Unable to Regenerate Channel Wire Instances in LabVIEW

Updated Nov 7, 2023

Reported In

Software

  • LabVIEW

Issue Details

I have a VI that uses channel wires on the development system, I moved the project to a production computer and after doing this process the channel wires are now broken and it is not able to regenerate the channel wire instances. LabVIEW keeps looking for the instances as shown below:

 

When LabVIEW doesn't find the instance it asks for the path of each individual instance. If I ignore all of them and open the block diagram I see the channel wires as questions marks as shown below:

Also, the following error message is shown:

LabVIEW could not create the requested channel endpoint. 

The channel's element data type is an array. Write Multiple and Read Multiple operations are not supported on this template if the channel's element type is an array.

In general, set the type of the channel by replacing your writer endpoint first and then you may have more success replacing the reader endpoint.

Error message.png


The channel wires instances aren't saved in the project folder, where can I locate them? 

Solution

LabVIEW by default saves the channel instances in the LabVIEW Data folder in your Documents as shown below: 

Even if the channel instances in the LabVIEW Data folder were deleted, LabVIEW should be able to regenerate them. If LabVIEW doesn't have permission to edit the LabVIEW Data folder, the instances will not be generated. If this is the case: 
  1. You can allow access to the LabVIEW Data folder, If you are using Windows 10 go to Defender Security Center >> Virus and threat protection >> Virus and threat protection settings, and under Controlled folder access you can either:
    1. Remove the LabVIEW data folder from the protected folders.
    2. Allow permission for LabVIEW by going to Allow an app through Controlled folder access >> Add an allowed app then navigate to LabVIEW executable in the C directory this will depend on both your LabVIEW version and whether it's 32-bit or 64-bit. For LabVIEW 2018 (64-bit) it's going to be in C:\Program Files\National Instruments\LabVIEW 2018
  2. You can also specify where the Channel instances are going to be saved, in LabVIEW go to Tools >> Options >> Paths >> Default Data Directory Then uncheck the "Use default" box and specify a folder for the data to be saved. It's recommended that the VI is included in a LabVIEW project.
After doing any of these instructions make sure you completely close LabVIEW and open it again. If you opened the VI again the instances should be regenerated and the block diagram will be as shown below: