LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable with shared variables deploy in a PC target

Hello to all.

I have a program which use shared variables to communicate my program with OPC (to communicate with a PLC).

In development machine it works fine.

Now I would like to do a executable to deploy the program in a different PC which has installed OPC and Labview. So this target PC have to work alone.

To do this I follow the next steps:

1- In sorce files, I add loibrary in "Dinamic VI's".

1 - Deploy and undeply variables in library as follow:

 

And I build the application.

Now I copy the application with .aliases and the other file in a USB and paste in the target PC.

All application works fine except communication with OPC... So I do not how communicate with OPC. (OPC communicates fine with PLC in target PC).

I read somethin about .aliases file here: http://www.ni.com/tutorial/9900/en/ in step 3.

i think that the problem is how to deply variables in executable, because in immage attached the path is development PC's path and the target PC is can not get acces or something like that...

 

So in brief I would like to do the next:

A have a PLC and a library in Labview which has variables and addreses of PLC that I want to get acces.

I want to create an application with the same library and run in a target PC.

 

Thanks a lot

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