NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variables Not Working with Deployment

I've been having trouble deploying my test system due to the shared variables.  Here is the info:

 

The system consists of a LabVIEW server and client as well as a TestStand test system.  The server feeds the card info (voltage, etc…) to the client which then uses two shared variables to send the info to the TestStand system.  Both the server and client are LabVIEW executables and work properly when the TestStand system is run on the development computer.  However, when the TestStand system is deployed to the test computer (single-board) the client shows an error.  Error: -1950679023.  Error occurred at Shared Variable within one of the client’s VIs.

 

I have added a Deploy Library step at the beginning of the TestStand system and included the SharedVariables.lvlib that contains the variables it is complaining about, but there is no change.

 

One thing that may help troubleshooting is that when I try to deploy the shared variables on the development computer through the LabVIEW project, I get the following error:

\\(ip address)\ TestPCSharedVariables deployment failed (error: -2147220717, (Hex 0x80040313) The Remote Procedure Call connecting the client to the configuration server failed to be initialized.  Your installation may need to be repaired.).

I have repaired the LabVIEW 2009 SP1 installation as well.  No change.  This error quite possibly occurs because the development computer is not hooked up to the network at the time I deploy, but I thought it might be worth including in case that assumption is wrong.

 

Finally, when checking the NI Distributed System Manager on the test computer that I included with the TestStand system deployment, the configuration is the same as it is on the development computer.  Both shared variables are shown to be available on the localhost and the network.

 

Note:  Due to company policy, no code can be shared.  Sorry this complicates things!

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

Hi bjenkins,

 

Are you using a cRIO or the SVE (Shared Variable Engine) in your LabVIEW executable or similiar?

 

It seems that the errors you are receiving are related to the Shared Variable Engine most directly. It may be beneficial to look at the Knowledge base articles below and try the steps included.

 

Error -1950679035 or -1950679027 When Using LabVIEW Shared Variables

 

Error -1950679023 Occurs from Time to Time for an Application Using CompactRIO

 

 

Tyler C.
Technical Support Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,392 Views)