![]() |
NI Real Time Target Support Locked
Hi, I had just built and tried to deploy the code. When the LabView tries to deploy, it says that the Real Time application has not been built. I then find that the NI Real Time Target Support.lvlib has been locked, and I didn't do anything with it before. I wonder if that is why the Real Time application has not been built. Anyone have the same problem?
|
Re: NI Real Time Target Support Locked
Is this a project that you created as a New "FRC cRIO Robot Project" in LabVIEW, or did you copy it from somewhere else?
How are you building it? How are you trying to deploy it? |
Re: NI Real Time Target Support Locked
A cRIO can become locked if you abruptly loose connection to it. A library will become locked if it is open in two projects at the same time. (Remedy = closing all but the desired project. Sometimes this requires shutting down LabVIEW.)
If you wish to only run your code, you can simply press the run button on the "robot main.vi" If you wish to deploy it, then it must be built before deploying. The build, then deploy process is manually repeated for every program change and update. (This is why most people simply press the run button during testing, and deploying only when needed.) This process only takes a few moments. I hope this helps with your problem. |
Re: NI Real Time Target Support Locked
Quote:
|
Re: NI Real Time Target Support Locked
"Deploy" is usually not the appropriate command. Instead, choose "Run as startup". If you checked the "always run deployed code" option when you imaged the cRIO, a simple "Deploy" can work, but it's best to be explicit about what you want.
If you created the project on a different computer or in a different directory from where it is now, you might have to fix the Build Specifications to correct a directory link that now points to the wrong places. Right-click on the FRC Robot Boot-up Deployment and choose Properties, then go through the categories to make sure all of the folder names match the location of the project. Check specifically the "Local destination directory" in the Information category. |
Re: NI Real Time Target Support Locked
Quote:
|
Re: NI Real Time Target Support Locked
In the Project Explorer, there should be an IP address in parentheses after the "RT CompactRIO Target". For your team's cRIO, 10.35.70.2 is the proper address. If it isn't correct, right-click the wrong value and choose Properties. The "IP Address / DNS Name" field is in the General category. Fix the address and click OK.
(If the address was 10.xx.yy.2, it's because it wan't set properly when you created the project.) |
Re: NI Real Time Target Support Locked
Quote:
|
Re: NI Real Time Target Support Locked
Quote:
|
| All times are GMT -5. The time now is 11:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi