LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble running a real time application.

Hi, I have a cRIO9004 controller and have downloaded later versions of the software from the host pc. When I build a two loop Real Time project following the wizard steps on pages 9 to 12 in "Getting started with LabView Real-Time Module" then try to run the target or host VI's I get the following errors.

If I try to run the host VI, I get a message "Deploying variables-network-RT (seperate).lvlib\\192.168.1.2\variables-network-RT (seperate) deployment failed (error: -2147220717, (Hex 0x80040313) The Remote Procedure Call connecting the client to the configuration server failed to be initialized. Your installation may need to be repaired.).

If I try to run the target vi I get a message "Deploying ni_tagger_lv_Read.vi.
Failed to download ni_tagger_lv_Read.vi LabView: The variable client support software required by the shared variable is missing or of the wrong version."

So there seems to be a problem with ni_tagger_lv_Read.vi yet the VI is there in the dependencies list.

0 Kudos
Message 1 of 9
(4,845 Views)
Hi,

The error that you are getting, error -2147220717, usually occurs if you do not have variable support on your client (the cRIO 9004).  You have two options in which you can gain variable access.  You need to either install 1) Network Variable Engine on the client to allow LVRT host SVs and or 2) Variable Client Support to allow LVRT to access the SVs.

If you are still getting SV problems, feel free to post some updates here to the DF and I will be glad to help you out.


Regards,

Nadim
Applications Engineering
National Instruments
0 Kudos
Message 2 of 9
(4,698 Views)

Hi,

I am having the same problem.  I do have Network Variable Engine as well as Variable Client Support for LVRT installed on the client (a FP 2015 system).

Was this problem ever resolved.

Thanks,

Greg

0 Kudos
Message 3 of 9
(3,732 Views)

Hi Greg,

 

Have you tried reformatting the controller?

 

FLash

National Instruments
Applications Engineer
0 Kudos
Message 4 of 9
(3,716 Views)

Hi FLash,

 

No, I have not tried reformmating the controller.  I'm not even sure what that means. Is the controller the FP2015? Would you mind explaining what is involved with that (or point me to link with an explaination)?

Thanks for the quick response,

 

Greg

0 Kudos
Message 5 of 9
(3,708 Views)

Hi again FLash,

I found out how to reformat the controller using the following:

https://www.ni.com/docs/en-US/bundle/measurement-and-automation-explorer-help-for-compactrio-and-sin...

I followed this proceedure through the reinstallation the software and all seemed normal.

I am still getting the same error when the project tries to deploy a *.lvlib file that contains a number of shared variables to this controller.

 

Greg

 

 

0 Kudos
Message 6 of 9
(3,696 Views)

Hi Greg,

Can you paste a copy of a screenshot of the software tree explanded for the cotroller?

 

Also, can you try creating a test application to deploy to the controller that has a shared variable? 

 

thanks

FLash

National Instruments
Applications Engineer
0 Kudos
Message 7 of 9
(3,671 Views)

Hi Flash,

Here is the software installed on the FP-2015:

 

DataSocket for LabVIEW Real-Time 4.5.4

FieldPoint Drivers 6.0.0

FieldPoint VI Managers 6.0.1

LabVIEW Real-Time 8.5.1

    LabVIEW PID Control Toolkit 8.5.1

Modbus I/O Server 1.4.1

Network Variable Engine 1.4.1

NI-IrDA RT 1.0.2

NI-Serial RT 3.3.0

NI-VISA 4.3

NI-Watchdog 2.1.5

Variable Client Support for LabVIEW RT 1.4.1

 

Thanks,

Greg

0 Kudos
Message 8 of 9
(3,658 Views)

Hi Greg,

It looks like your software is fine. Next I would like to know if the issue is local to your application or to the controller. Can you create a test project that communicates from the controller to a host VI with a shared variable? If this fails, we know it is something with your controller.

 

thanks

FLash

National Instruments
Applications Engineer
0 Kudos
Message 9 of 9
(3,637 Views)