08-27-2010 08:51 AM
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,
Solved! Go to Solution.
08-27-2010 07:31 PM
I believe you need to install a run time engine for the variables on your PC as well.
08-30-2010 04:04 PM
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.
08-31-2010 01:45 AM - edited 08-31-2010 01:46 AM
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,