LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable Issues

Hi,

 

I am running Labview 12.0 and RT on a Windowss 7 machine connected to a PXI-8184. The host drive was cloned from another machine with the same set up. Evevrything works fine on the other rig. After connected the host, the PXI was recognized in NIMAX. I installed the same software on the PXI as the other rig. However, I am only able to send shared variables from the host to the PXI, but not from the PXI to the host.

 

I've included a simple Labview project to illustrate this. I am able to see the 'counter' shared variable from the PXI updated on the host, but the 'counter2' shared variable from the host does not get updated on the target. Both directions work fine on my other rig.

 

I have diabled all firewalls on the host. Could you please offer anythoughts as to why I only am able to send shared variables in one direction?

 

Thanks,

Ryan Shewcraft

Download All
0 Kudos
Message 1 of 3
(2,361 Views)

Hey Ryan,

 

If you look at the Distributed System Manager on both the PXI and the Host computer does the counter2 variable show that it's updating on either side? Also, if you wire an indicator to the output of the counter2 variable are you getting any errors or warnings? And, you didn't include the SV libraries but I think I get the picture.

 

--Ryan S.

0 Kudos
Message 2 of 3
(2,348 Views)

This article has helped me a lot: http://digital.ni.com/public.nsf/allkb/6E37AC5435E44F9F862570D2005FEF25.

 

Also, check your VISA settings in Measurement and Automation to allow any remote system to access the host computer. Expand the software and select NI-VISA (version number). On the right, select the VISA options tab. Add "*" to allow all remote systems to access the host computer. You should do this for your remote system as well. See below:

 

MAX Settings.png

0 Kudos
Message 3 of 3
(2,326 Views)