Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

failed to deploy to RT target

Hi,

I'm trying to deploy my exe to a CVS but the deployment fails. The build stage works fine, the error only comes in when I try deploy it to the CVS. 

 

Initializing...
Calculating dependencies...
Checking items for conflicts. This operation could take a while...
Preparing items for download. This operation could take a while...
Deploying Slots.lvproj
Deploying CVSDer(successfully deployed target settings)
Deploying CVS acquire.lvlib
Deploying CVS acquire.lvlib:CVS ready\\192.168.0.20\CVS acquire\CVS ready deployed.Deploying CVS acquire.lvlib:Grab SL\\192.168.0.20\CVS acquire\Grab SL deployed.
Deploying CVS acquire.lvlib:CVS Image B\\192.168.0.20\CVS acquire\CVS Image B deployed.
Deploying NI_Vision_Development_Module.lvlib
Deploying NI_Vision_Acquisition_Software.lvlib
Deploying Der(failed to deploy)
Deployment completed with errors

 

My VI runs fine on the target if you run it by pressing the run arrow, but after building, it just wont deploy into the startup folder on the CVS. The Shared variable library seems to deploy fine. Any ideas? I have noticed a someone had a similiar problem with the deployment but there was no real solution given in that discussion.

 

Thanks,

JChec

0 Kudos
Message 1 of 11
(5,811 Views)
Are you getting any error codes? Can you post your exe and the original VI/VBAI inspection?
--Michelle

National Instruments
0 Kudos
Message 2 of 11
(5,789 Views)

Hi Michelle

 

There are no error codes. This deploy was to a CVS 1454. I tried deploying to a CVS 1456 and it deployed fine. The code accesses the FPGA and uses snap and grab. The exe is about 777kb, so I'm not sure why it should not deploy to the 1454. Was hoping there's a solution before I accpet that maybe the non volatile memory on the 1454 is corrupt. Here's my original code and the exe, but this same code was deployed to the CVS 1456.

 

Thanks for the reply

Download All
0 Kudos
Message 3 of 11
(5,783 Views)
I'll give your code a try and let you know if I run into issues.
--Michelle

National Instruments
0 Kudos
Message 4 of 11
(5,761 Views)
Have you tried manually loading the file - ftp and drop it in the startup folder? If you do this be sure that you follow this KnowledgeBase How Do I Deploy a Start-up Executable to my Real-Time Controller?
Does this work for you?
--Michelle

National Instruments
0 Kudos
Message 5 of 11
(5,758 Views)

I've tried using the Ftp transfer, but once the file has been sent across and I reboot, the CVS reboots into safe mode and says theres a software error. I've tried this with simple built VIs. I have tried reformatting and then ftping across but still get the same result.

 

Thanks,

JChec

0 Kudos
Message 6 of 11
(5,713 Views)
What is the software error? Is there a code with it? Can you post a screen shot?
--Michelle

National Instruments
0 Kudos
Message 7 of 11
(5,700 Views)

the software error is stated in max. That comes after I reboot so that the exe starts up (after i have used ftp to transfer the file across). So there's no error code given. Max simply states 'Safe mode (software error)'. I'll contact the local NI branch and see if they can walk me through some steps and I'll post the results from the call.

 

Thanks,

JChec

0 Kudos
Message 8 of 11
(5,689 Views)

What version of LV and LV Real-Time are you using?

 

Generally when there is a software error, formatting the CVS will do the trick. I see that you have tried this already, but give it one last try. Then try to deploy the most simple VI or an example VI. Try deploying them from another PC if possible. If you are still seeing this issue then I suggest you send it in for RMA.

--Michelle

National Instruments
0 Kudos
Message 9 of 11
(5,666 Views)

Local NI branch suggested similiar things too....Running Labview 8.6 and run-time 8.6. When I format, the CVS fine again, but as soon as I ftp again and reboot, it gives the software error again. Tried deploying from another computer but had the same problem. Also tried a simple VI and it still gave the error.

Will give it another go otherwise will probably have to send it in. Dont have this problem with my other CVS 1456. If it works I'll post back, otherwise it'll be sent in.

Thanks for the help Michelle

0 Kudos
Message 10 of 11
(5,658 Views)