LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when programatically deploying shared variable library to cRIO

Hello,

 

I'm having an issue deploying a shared variable library programatically... I am attempting to deploy the library to a cRIO from an exe that runs on a windows PC. Everything work fine on my development system (with full LabVIEW dev), but when my customer runs the exe (from their system with LabVIEW run-time only) the invoke node errors with code: -2147467259. I haven't been able to find any helpful information when I search that error code. Any help would be greatly appreciated! Do I need to install an additional run-time module on the customer's PC to allow for variable deployment?

 

I have verified the path to the library and the IP address of the cRIO.

 

 

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

Hello Ryan85,

 

The error has a lot of different causes. Have you made sure the NI Variable Engine is running?

You can try the example on this document

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7k7SAC&l=en-US

 

or try this other approach depending on your LV Version

 

 How Do I Deploy Network Shared Variables from a Compiled Executable?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YIDuCAO&l=en-US

 

Diego H

National Instruments

 

 

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