LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to deploy Shared Variables on RT target

Solved!
Go to solution

Hi all,

   I'd like to deploy a shared variable on my cRIO-9074 controller but I get the following error:

 

\\192.168.0.3\SV Lib deployment failed (error: -1967357949, IAK_SHARED:  (Hex 0x8ABC8003) Unable to query Measurement & Automation Explorer for the Shared Variable Engine. Make sure the Shared Variable Engine exists on the RT target and check that the network connection is valid.).

 

I'm pretty sure the network connection is valid (MAX finds everything, I can use FTP for file transfers and other RT-VIs that do not require shared variables work fine) but I'm not sure how to confirm that the Shared Variable Engine exists.  In MAX, this is the software that's installed on my target:

 

RIO Software.png

 

However, the only reason the Scan Engine is on that list is because I did a custom software installation through the Real-Time Software Wizard.  I think maybe if I install "NI-RIO 3.6.0 with NI Scan Engine Support - January 2011" then everything will work, but I don't know how to do that.  I've installed the 2010 RT and FPGA modules (from here) to my PC with all available options but the Real-Time Software Wizard tells me I can't install the aforementioned because I'm missing the following (values in red are the versions I see in the Custom Install screen):

 

Network Variable Engine 1.7.1 (older version 1.7.0 available on host)

Network Streams VxWorks Version Specific Binaries 1.0.1 (older version available on host)

Network Streams 1.0.1 (older version 1.0.0 available on host)

Modbus I/O Server 1.7.1 (older version 1.7.0 available on host)

DataSocket for LabVIEW Real-Time 4.8.2 (older version 4.7.0 available on host)

NVE Core 1.7.1 (older version 1.7.0 available on host)

EPICS Server I/O Server 1.7.1 (older version 1.7.0 available on host)

Variable Client Support for LabVIEW RT 1.7.1 (older version 1.7.0 available on host)

NI cURL 1.0.1 (older version available on host)

NVE Serial Subsystem 1.7.1 (older version available on host)

SSL Support for LabVIEW RT 3.1.0 (older version 3.0.0 available on host)

NI System Configuration 1.1.3 (older version 1.1.0 available on host)

 

Can anyone tell me what software/drivers packages I need to install to get the shared variables to work?  Note: the 9223 requires RT2010, so I can't downgrade to 2009.

 

Thanks, 

Aaron

0 Kudos
Message 1 of 16
(10,548 Views)
Solution
Accepted by topic author Aaron@PSU

Hi,

 

You need to install the "Network Variable Engine" if you want to host variables on the cRIO.

If they are hosted at the PC and you just want to access them at the cRIO you need the "Variable Client Support" to be installed.

 

 

Christian

Message 2 of 16
(10,529 Views)

Hi Christian,

   Perfect!  I had to uninstall the Scan Engine because it kept giving me an error whenever I tried to install the Variable Client Support, but after that everything works!  Thanks for your help!

 

-Aaron

0 Kudos
Message 3 of 16
(10,523 Views)

Hello, I have a similar problem.

 

I have Labview 10.0 and a CompactRIO 9022. First when I try to run a VI (VI with I/O of the RIO) then I got:

 

Conflict message: Acces denied, the target is running a version of Labview Real-Time is different than the Real-Time Module Software on the host computer. I checked, Real-Time version of Labview is 10.0.0 and that of the RIO 9.0.1.

 

So in MAX I add/remove software and installed the latest, but now I have Labview Real-Time 10.0.1 with NI-RIO 3.6.0 (minimal)- January 2011, but NO NI-RIO 3.6.0 - January 2011 and NO NI-RIO 3.6.0 with NI Scan Engine Support - January 2011.

 

And now if I run the VI I get:

The current module settings require NI Scan Engine support on the controller. You can use Measurement & Automation Explorer (MAX) to install a recommended software set of NI-RIO with NI Scan Engine support on the controller. If LabVIEW FPGA is installed, you can can use this module with LabVIEW FPGA by adding an FPGA Target item under the chassis, and drag and drop the module onto the FPGA Target item.

 

I installed the older version of Network Variable Engine 1.7.0, but problem still exists.

 

Aaron, how did you do it?

 

 

 

0 Kudos
Message 4 of 16
(10,216 Views)

Hi Soedarman,

 

Are you using the Scan Engine support in your VI, or do you have an FPGA program deployed on the cRIO as well as the VI in question? If you are using the Scan Engine then you will need to go back and install support for it instead of just the minimal RIO 3.6.0 installation.

 

Regards,

Peter W.

0 Kudos
Message 5 of 16
(10,195 Views)

Hi Peter,

 

Yes, the problem was that I could not install the scan engine, because the components were of an older version and the components of a newer version could not be found on the host.

 

So first I tried to get updates with the MAX and yes, there were two patches and one of them was for the Real-Time Module. So I got the patch, but the problem still existed.

 

What I did next was downloading and installing SP1 of Labview 2010, the Real-Time Module and the FPGA Module. And voila, I can install the scan engine. Now it works fine with my RIO.

 

Thanks.

 

0 Kudos
Message 6 of 16
(10,193 Views)

I am having the same error "cRIO Library deployment failed (error: -1967357949, IAK_SHARED:  (Hex 0x8ABC8003) Unable to query Measurement & Automation Explorer for the Shared Variable Engine. Make sure the Shared Variable Engine exists on the RT target and check that the network connection is valid.).". I am running LV2011 and have RIO4.0 installed along with Network Variable Engine 1.8.0 and Variable Client Support 1.8.0.

 

I have tried re-formatting and re-installing but still having issue.

0 Kudos
Message 7 of 16
(10,134 Views)

Hello Cosworth,

 

One possible culprit to the error you are seeing is the Windows firewall. Can you try turning off the firewall and deploying the shared variables?

Also, what cRIO model are you working with?

Finally, can you please post screenshots of the features installed on your cRIO for verification? 

 

I appreciate these extra details as it will help the forum readers troubleshoot your system as well.

 

Regards,

 

Andrew Brown

 

Software Engineer
National Instruments
0 Kudos
Message 8 of 16
(10,107 Views)

Unfortunately whenever I try and expand the Software section for the cRIO it loses communication so sending a screenshot is pretty difficult. I'm pretty sure something in our anti-virus stuff is at the heart of all my cRIO issues I've had to date but I can't seem to find anyone to pinpoint what it is. I've had communication issue everytime I try and use a cRIO, usually I have to do something odd like boot it up off our network and then plug it into our network to get things to work, I'll give that a shot with this issue.

 

I'm told anything on our network does not go through a firewall. Again, I'll try a direct connection and see where this takes me.

 

My cRIO model is 9074, I'm using all 2011 (LV, RT, FPGA) software for this application.

0 Kudos
Message 9 of 16
(10,102 Views)

Hello Cosworth,

 

I appreciate the additional info about what you've had to go through to work with cRIOs on your network. A direct connection is definitely a good step to sidestep any network problems. Some additional troubleshooting steps you can take include:

 

1. Attempting the network (or direct) connection with a different computer

2. Removing any possible MAX database corruption

3. Disabling the anti-virus on your system

 

Please let me know the results of these and other steps you take.

 

Regards,

 

Andrew Brown

Software Engineer
National Instruments
0 Kudos
Message 10 of 16
(10,076 Views)