From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when trying to deploy to a RT target: "Invalid value for the Enable Aliasing option" (Error 1950679008)

Hello everyone,

 

I am at a loss here and I truly hope someone can help me. I have no idea where the problem is.

I am using the NI OPC server 2013 to connect LabVIEW 15 to a processing unit. That was working quite well, until I added another label to the server. I did not change anything in the configuration and repeated the step I used before from the NI document "Connect LabVIEW to any PLC using OPC". Since then I cannot deploy any bound variables in my library without getting the error shown in the following picture (in german):

01.Deployment.JPG

The error code means "Invalid value for the Enable Aliasing option. On the Variable page of the Shared Variable Properties dialog box, verify the values of the options that are enabled when you place a checkmark in the Enable Aliasing checkbox."

 

I checked the Enable alias box and selected the variable from the drop down menu:

02.Variable properties.JPG

Also, the OPC server is comunicating with the equipment without any problems as seen in the screen capture of the quick client. 

I removed all items from the library and added them again. That did not help. Du you guys have any suggestions?

03.OPC Quick.JPG

Best,

Qbach

0 Kudos
Message 1 of 2
(2,558 Views)

The LabVIEW project file is probably corrupted. In order to eliminate this error, you have two options:

  1. You can manually change the binding path of the shared variable each time you change the target name in Project Explorer.
  2. You can create a new LVPRJ file and add necessary targets and libraries into your new project, which will allow the shared variable's binding path to automatically update.


It is also possible that the binding paths were not initially correct. Shared variables will automatically update binding paths only if the paths are initially correct.

Best Regards,
TK
Certified LabVIEW Architect (CLA)

0 Kudos
Message 2 of 2
(2,478 Views)