08-15-2013 11:38 AM
I am trying to write to an array of shared variables stored on my cRIO and then read those from the PC but for some reason not values are being written to the shared variable. I am running LabView 2011 and have tried reformatting the cRIO and loading all the software again but it has not helped.
Here is a bit of code that writes to a numeric array, nothing really special about it. I can see all my values on the indicator but in the distributed systems manager for the variable "cRIO Values" it simply says "No Known Value"
I'm having the same problem with a boolean cluster shared variable
08-16-2013 04:31 PM
Hello,
A lot of different factors could be causing this behavior. This is a good article with a lot of different troubleshooting methods when using shared variables.
Are you receiving any errors when running your application? Are you running the program as an RT EXE or in development mode?
http://digital.ni.com/public.nsf/allkb/6E37AC5435E44F9F862570D2005FEF25?OpenDocument
09-04-2013 12:40 PM
A really useful tool I have found when troubleshooting Network Shared Variables is the Distributed System Manager. You can find it in your National Instruments folder on your computer in the start menu.
It will find your cRIO on the network (if it can't find it, add it manually with the IP address) and it will tell you about the shared variables that are accesible from the cRIO on your PC.
Try using that tool to see if you can even find the NSVs on the cRIO. This will narrow down the problem a bit more.