LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shared variable no longer updates

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

 

 

0 Kudos
Message 1 of 7
(2,852 Views)

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,

Cameron
0 Kudos
Message 2 of 7
(2,816 Views)

It's a PXIe-1062 chassis running LabView 2011

0 Kudos
Message 3 of 7
(2,813 Views)

Also, I have not redeployed. Mainly because it was never an issue before this.

0 Kudos
Message 4 of 7
(2,812 Views)

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?

 

 

Cameron
0 Kudos
Message 5 of 7
(2,781 Views)

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.

0 Kudos
Message 6 of 7
(2,753 Views)

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.

Cameron
0 Kudos
Message 7 of 7
(2,734 Views)