10-28-2013 05:12 PM
All,
I have an RT Systems 2011 and have been using shared variables between the RT and Host. Working for months. Then I renamed a shared variable and it no longer updates. When I try to look at the variable in the NI Distributed System Manager, it reports that it does not exist.
I changed the name back to what it was, it is seen by the System Manager but the current value is not displayed.
I did a remote debug into the RT code and the variable is being updated.
Any ideas\comments\etc would be appreciated?
Thanks
10-29-2013 04:32 PM
What hardware are you using as your real-time target? When you mentioned that you are using "RT Systems 2011", are you using LabVIEW 2011 and the Real-Time Module?
After you updated the shared variable, did you re-deploy it? I highly recommend reading through the “Deployment and Hosting” section of the DeveloperZone Tutorial linked below:
http://www.ni.com/white-paper/4679/en/#toc3
Regards,
10-29-2013 04:39 PM
It's a PXIe-1062 chassis running LabView 2011
10-29-2013 04:41 PM
Also, I have not redeployed. Mainly because it was never an issue before this.
10-30-2013 05:50 PM
Have you been able to rename the shared variables without changes to the functionality in the past?
Have you tried to redeploy the modified shared variable? Have you checked in your VIs that the variable you updated is still being used correctly?
Have you had the opportunity to look through the article I recommended previously?
11-05-2013 10:23 AM
Have you been able to rename the shared variables without changes to the functionality in the past?
Yes I have on many ocassions with no problem.
Have you tried to redeploy the modified shared variable? Have you checked in your VIs that the variable you updated is still being used correctly?
I will try it soon (this week).
Have you had the opportunity to look through the article I recommended previously?
Yes, I have.
11-06-2013 11:37 AM
Thank you for your reply! Please let me know how the re-deployment goes and if you have any questions about how your shared variables are being used.