LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deplying to RT pc target

When deploying my application to the RT PC target I get an error.

" Failed to load shared library c:\NI-RT\system\cvi_lvrt.dll on RT target device

(successfully deployed target settings)"

 

It happens like every 2nd time or so. The funny thing is that my software seems to run ok with or without the error. Until now when something crashes.  I want to verify  what that error is and what it may cause.

I have a quad core P2.4 GHz PC. Any ideas?

 

0 Kudos
Message 1 of 15
(4,280 Views)
Message 2 of 15
(4,258 Views)

I will try to do a clean install (8.5.1). I do not use serial ports. I am not sure what this error means cause my application seems to work.

0 Kudos
Message 3 of 15
(4,244 Views)
I also get that error messge from time to time, though it was more common when i was using a cFP than when using a converted PC.  I generally just cancel and redeploy the VIs and it doesn't pop up a second time.
CLAD
0 Kudos
Message 4 of 15
(4,241 Views)

Now I get this error almost every time. Plus to that there is a new one during deployment:

"LabVIEW: Resource not found" What resources?

 

This 8.5.1 RT PC is for computations only and the only resource it has is a firewire camera, no I/O cards.

 

From time to time on my host computer ( while running the front panel for the target) I get another weird message:

" Not enough memory to complete this operation" What operation?

 

 Is it on my host message or my  target message? both have 4GB RAM and I checked several times that I do not use more that 1GB of that memory.

Suggestions?

 

0 Kudos
Message 5 of 15
(4,192 Views)
AndyN-

I have a few questions about your application:

1. Are you running an RTEXE or a VI on your RTPC? 
2. If you run the VI itself, does it work correctly? 
3. Is this behavior after reinstalling your software?
4. I would suggest you reformat your RTPC and put a fresh version of your software and code on your system.  It seems your RTPC is not recognizing your hardware (probably your firewire camera). 

Regards,

Mike S
NI AE
0 Kudos
Message 6 of 15
(4,166 Views)

1. VI on a RT PC (what do you mean by RTEXE?)

2. The Vi seems to run OK- no relation the the deployment error at all.

3. No, it was like that since I started it

4. I created a new boot up USB, unistalled all previous NI software and put new code, no change

The camera works just fine after the deployment error. It is well compatible Basler camera.

 

Two things bother me most: the  "not enough memory" error and a occasional (once or  twice  a day) loss of connection with the remote target. I have no clue whether it is or not connected to the deployment error. Interesting is the fact that it happens almost entirely only loss of communication)  when I start running servodrives; the PC and the servos are on the same bus (but filtered). Then it comes back just like thatAnyway I would like to make sure those errors are not related and get rid of them one by one .

 

Another question I have in mind is what happens when I deploy a new code and there is something already running there by the same name? Could that cause the dll error during the deployment and then the Vi could work just fine?

0 Kudos
Message 7 of 15
(4,150 Views)
If your system is running at its maximum capabilities, the first thing that is cut off to ensure the code continues running is the connection between your host and RTPC.  Therefore this and your “not enough memory” error make sense that they both would happen.  It sounds like you are maxing out the resources available on your RTPC.  I would suggest ensuring your RTPC is capable of running the code you have deployed and is not railing your processor or maxing out your RAM. 
Regards,

Mike S
NI AE
0 Kudos
Message 8 of 15
(4,125 Views)
The CPU stays within 15% load and there is  like 1.5GB free RAM. that was well checked.
0 Kudos
Message 9 of 15
(4,123 Views)
1. Are you able to run simple code on your RTPC without issue? 
2. Has your code up until this point run correctly or is this the first time you are tried to run your code?
3. What did you add that made this code stop running as expected?
Regards,

Mike S
NI AE
0 Kudos
Message 10 of 15
(4,104 Views)