|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
|||||
|
|||||
|
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? |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Re: NI Real Time Target Support Locked
I opended a new project and programmed on another computer, but I have also opened a new project on classmate. I copied the code from my computer to the classmate (C:/Users/Developer/My Documents/LabView Data/2012 Robot Project). For building, I right-clicked on Build Specifications and selected "Build All". After it says that the build is complete, I right-click on FRC Robot Boot-up Deployment and selected "Deploy" just like I did last year.
|
|
#5
|
|||||
|
|||||
|
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. |
|
#6
|
|||
|
|||
|
Re: NI Real Time Target Support Locked
Quote:
|
|
#7
|
|||||
|
|||||
|
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.) |
|
#8
|
|||
|
|||
|
Re: NI Real Time Target Support Locked
Quote:
|
|
#9
|
|||||
|
|||||
|
Re: NI Real Time Target Support Locked
The "real time target" is the cRIO. You won't be able to connect if the cRIO is not turned on, if it is not on the same network as the host computer you're trying to connect from, if the network addresses are not compatible, or if it hasn't been formatted with the proper image.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|