Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

.vi loaded with errors on the target and was closed

When I intend to run my RT (communicating with an FPGA on a cRIO) it only runs one time. The second trial leads to the following error:

 

NI_AALBase.lvlib:Sine Wave.vi loaded with errors on the target and was closed.
LabVIEW:  Failed to load shared library lvanlys.*:SineWaveCIN:C on RT target device.

 

After reseting the FPGA and Labview it runs again, but also only for one time.

 

Thanks for solutions!

Thomas Vogl

0 Kudos
Message 1 of 81
(15,369 Views)

Hi Thomas,

 

It seems that something is corrupt when you run the application. So you should try to format the RT device and download the software again. Then run your application again. If it still fails you should upload your code to see what's going on.

 

By the way what is the exact version of LabVIEW and which cRIO device are you using?

 

Regards

TomBaum

0 Kudos
Message 2 of 81
(15,334 Views)

I solved the problem by no longer using a sine creator on my RT, which it a sub.vi itself. I created my own sine generator that included no sub.vi and got no error so far.

Message 3 of 81
(15,240 Views)

Hi,

 

I appreciate that you update this forum post.

 

TomBaum

0 Kudos
Message 4 of 81
(15,225 Views)

Hi,

 

 

I've exactly the same problem, with cRIO-9073 and LV-RT 2009. I've re-formated the cRIO & re-installed my project. Then it was working properly the first time, but after small modification in the code and a second deployement, it failed again, with this same error message "...Labview failed to load shared library lvanlys*...".

 

I realy don't know what to do now !

 

 

Synthesis

0 Kudos
Message 5 of 81
(15,183 Views)

I have the same problem. I'm using a PXI1050 chassis and a PXI8108RT 24/7 controller and Labview 2011.

If I run all sub-VI of the code, every one run OK. But if I run the mai sub-VI this problem happen. I already formatted the PXI and deploy all the software again. It always happen when I change something in the software. If I save the SW with other name and don't change anything, it runs normally.

 

I really don't know what else can be done.

 

Thanks

0 Kudos
Message 6 of 81
(14,657 Views)