04-12-2016 11:31 AM
I'm attempting to deploy a VI to an NI cRIO-9038.
When I press the run arrow, the deployment runs like normal and finishes with the following message.
"Deployment completed with errors"
Memory usage is reported as "Free Memory: 1663415 K of 1935944 K Total (85%)", so I don't believe that's the issue.
The next time that I press the run arrow, I get a "Conflict Resolution" dialog with the followign message on the target:
"Errors were detected in the target log when connecting to the target:
LabVIEW: Generic error.
LabVIEW: (Hex 0x661) The LabVIEW Real-Time process encountered an unexpected error and restarted automatically."
There is an "Apply" button and pressing it runs the deployment process like normal and produces the "Deployment completed with errors" message.
---------------
What I've tried already
03-20-2018 06:22 PM
I have the same problem with cRIO-9035 and LabVIEW 2015. So far my solution is to deploy the libraries that are causing the errors prior to launching the RT_Main.vi. I have to either right click on the library in my project and select deploy or run a vi in the library, which in turns loads the library into the RT memory. Sometimes the library that I'm attempting to deploy fails. In that case, I find that library and do the same thing. Once I've loaded all the libraries that cause problems into the RT memory then I can run my main.
Given this information, I assume that there is a conflict with my libraries, perhaps one library requires another library to load...
11-20-2024 06:08 AM
Hi MPCC,
I realise that you posted the original message around 8 years and 7 months ago, but do you have an update on your problem? Were you able to fix it or work around it? Do you remember what fixed it?
Yesterday (19 November 2024) I started encountering the same dreaded "Deployment completed with errors" message when attempting to run a VI onto a cRIO.
After several tests I have identified that the message appears when deploying the main VI of my application, but only when the Enable Embedded UI setting is ticked for that cRIO in MAX.
When that setting is unticked, the exact same VI works fine.
I have replicated the issue on two different setups. Each setup uses a Windows 11 PC running LabVIEW 2024 Q3 (24.3.2f2) 64-bit connected to a cRIO-9045. So, in short, used two PCs and two cRIOs that all have the same software installed on them. Fortunately, the issue occurs identically on both setups.
At the same time, I am able to deploy a simple test VI onto both cRIOs without any issues both when the Enable Embedded UI setting is ticked or unticked. In other words, the setting does not prevent deploying all VIs. It does not prevent the deployment of a simple test VI. But it does prevent the deployment of a larger VI (the main VI) that depends on several lvlib's and lvclass'es.
I need to use the Enable Embedded UI setting because I want to be able to use Tester VIs that use Value Change events (button presses) to trigger certain actions. When that setting is unticked Value Change events (button presses) are ignored on the cRIO.
Kind regards,
Petru
11-20-2024 06:35 AM
P.S. I have created the following forum post to address the "Deployment completed with errors" message in relation to the "Enable Embedded UI" setting: "Deployment completed with errors" message when deploying to cRIO-9045 with "Enable Embedded UI" tic...