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,051 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

 

http://digital.ni.com/public.nsf/allkb/5615C415DCEA0A2086257150006A0F7D

 

or try this other approach depending on your LV Version

 

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

http://digital.ni.com/public.nsf/websearch/04D9A85B6967EE87862571140065EEC6?OpenDocument

 

Diego H

National Instruments

 

 

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