LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running labVIEW exe containing variables shared through opc

I have created a vi for reading from and writing to varibles in a SCADA software (Indusoft Web Studio).  But when i create an exe of this vi, and run it on a pc with only runtime engine installed, the exe runs but doesn't read & write variable in the SCADA. 

 

I have ensured that the exe works properly in  the pc where the vi was developed.

Also ensure the correct version of runtime engine is being used.

 

What seems to be the problem?  Do i have to install a runtime for OPC too?  Is there an alternate way to communicate with the SCADA software.

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

I have an OPC project with a bunch of shared variables in different libraries.  

When you build the application, make sure you check the box to "Deploy Shared Variables at application execution", and include all your shared variable libraries.

 

see attached screenshot

hope this helps

 

Jeff

 

Untitled.png

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