LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared variable doesn't connect

Solved!
Go to solution

Hello,

i've a host application (exe) that uses network shared variables to read values from a RT application running on a cRIO target (all exe built with LV2010). The host application uses a method node to deploy the shared variable library to the RT target. As i run this application on the pc where i've the development system, it's working fine...when i put the application on a pc with the LVRunTime only, i obtain a strange behavior : the library method node does not return any error...with the distributed system manager i see the shared variables actually deployed on the target...BUT the RT application doesn't manage to update the shared variables !

At first, i thought that there was a problem because the RT target boots before the library is deployed by the host application but it's working on my development pc. So what am i missing ?

 

Thanks for any clue,

Vincent
0 Kudos
Message 1 of 4
(3,112 Views)

I believe you need to install a run time engine for the variables on your PC as well.

 

Look at this post.

0 Kudos
Message 2 of 4
(3,096 Views)
Solution
Accepted by topic author VdG

I am pretty sure that you cannot programmatically deploy cRIO hosted SV's. This must be done from the project.

Try starting over again, undeploy all libraries from the project and then manually redeploy.  Remove your 'deploy' method

and then verify that your RT code is updating the NSV's using the DSM.  Next, try to read or write NSV's from the host app.

0 Kudos
Message 3 of 4
(3,058 Views)

Thanks Sachsm, it's working now. The strange point is that the deploy node i was using didn't report any error, but didn't work either !

 

All the best,

Vincent
0 Kudos
Message 4 of 4
(3,041 Views)