LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -2147220717 when deploying shared variable library with cRIO

I have two host systems running Windows XP that can communicate with my cRIO-9072.

 

On one system I get no deployment errors, but when deploying from the other system this afternoon I get the error -2147220717 hen deploying the SVE in my code.

 

The Rt target has the SVE already installed.

 

I am not running both hosts at the same time.  Both are running windows 8.5.1

 

The funny part is, after I get the deployment error, the code works properly and the Shared Variables are transmitting with no errors.

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
Message 1 of 10
(4,291 Views)

Hey Ryan,

 

That error signifies an issue with the SVE installation. I don't imagine that there would be an issue with the installation on your RT since the other computer can connect to it. So can you explaine how you are hosting and connecting to the shared variables? It sounds like the SVE on the other computer maybe be corrupt and you might want to repair the installation on the computer.

 

Also can you try communicating computer to computer using shared variables and see if we can pinpoint the error?

Sappster
0 Kudos
Message 2 of 10
(4,272 Views)
I am hosting the Shared Variables on the PC's and deploying the LVIB with an Application Invoke node using the (Library.Deply Library) method.
Message Edited by RVallieu on 10-03-2008 07:25 AM
Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 3 of 10
(4,265 Views)

Hi,

 

The following link may be helpful: http://digital.ni.com/public.nsf/allkb/A35A0F7905FD36A88625725800592437?OpenDocument 

Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 4 of 10
(4,235 Views)

That link does not tell me anything new, the SVE is installed on the RT system, otherwise I would get this error when trying to connect from either PC.

 

I will try and veridy the installation on the laptop today.

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 5 of 10
(4,217 Views)

the LabVIEW installation on the Laptop has the SVE installed...I turned the firewall off just in case I was missing one of the exceptions needed i.e. lkads.exe or the tagsrver, etc.

 

Still a deployment error on the Laptop.

 

I can connect to the cRIO with no problems and it's deployment settings have no problems.

 

How do I go about installing the SVE suite for LabVIEW if the installation is corrupt?

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 6 of 10
(4,207 Views)

OK now the original system is not working properly....sigh.

 

The variables are deploying properly (at least I get no errors) but when I write or read from the Shared Variables on my desktop system now, I get Warning -1950679034 Shared Variable has no value.

 

I'm at a loss as to why this would STOP working when it was working yesterday.  This is very frustrating and costing me money.

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 7 of 10
(4,188 Views)

Ok I redployed the RT Executable to the CRIO and now the desktop system is working again - reading and writing data back and forth from programmatically deployed shared variables....

 

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 8 of 10
(4,184 Views)
Now it is working on the laptop as well.....strange!
Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 9 of 10
(4,183 Views)

Ok upon further testing I have found that the issue is not with the cRIO Shared Variable per se...

 

What I am finding is that I must deploy the RT Target settings either by "Connect"ing from within the project to the cRIO target, at which time the RT Target Settings are deployed to the cRIO or I redeploy my RT EXE from within the project which again deploys the RT Target Settings.

 

My concern now is - when this is a stand alone executable and I throw this on a different computer, but the Target IP address is the same but I am operating outside of a project since the cRIO EXE is already on the cRIO system - how can I make sure what is happening in the background when I hit "Connect" to the RT system will happen in my EXE?

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 10 of 10
(4,153 Views)