09-19-2012 06:45 PM
I am trying to open a connection to a shared variable on the host side of my project and I receive the error "Unable to locate variable in the Shared Variable Engine". I can run the program to connect to the cRIO-9082 without problems using my home laptop but I am trying to get it to work on my office laptop for the first time and I am stuck with this Open Variable Connection error. A few things I know are right are: target and IP addresses, the URL (ni.var.psp://10.79.8.17/%5BHost%5D Shared Variables/Save High Rate Data) going to the Open Variable Connection function, host shared variables are set to auto deploy, no firewalls, or internet connection (just ethernet cable from laptop to cRIO). There is, however, Symantec virus protection I cannot disable. I would appreciate any thoughts what I'm missing. Thanks.
09-20-2012 01:31 PM
Hello Bill,
Based on your description, it does sound like your antivirus/firewall may be playing a role, in which case the best bet would be to add an exception for the variable engine, if possible. More information on this error and links to related documentation can be found here:
KnowledgeBase 454FH4NF: Shared Variable Error Explanations
http://digital.ni.com/public.nsf/allkb/B9366256C53D95CA8625725A007C0287?OpenDocument
It sounds like you may have already done this, but you may also want to confirm that the host has a valid connection to the cRIO by pinging it from the command prompt or attempting to FTP files to/from the target. How this is done depends on your operating system, but it's worth checking that it's not a problem with the network card(s), host network configuration, or cable itself.
Regards,