Go to Post Probably planning on milling the bumpers out of solid pool noodle stock, too. Ever wonder how they drill that hole down the middle of pool noodles? ;) - Bill_B [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2012, 16:17
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Real time application not built

Hi,

When I am attempting to deploy the default labview code to the crio I get the error The Real Time application has not been built. You must build the application before deploying.

What am I doing wrong? The source of the error shows it in: RT CompsctRIO Target > Build Specification > FRC Robot Boot-up Deployment
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2012, 16:50
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Real time application not built

There are two ways to run the code you've written. The fast way is to open Robot Main and just run it like any other LabView code. But this is only used for testing, because as soon as you turn off your robot, your code is gone.

The other way is through the Build Specification thing, which is what you tried to do. This way the code stays in the flash and is run every time you turn it on (until you format the cRIO or upload newer code). To do this, right-click on FRC Robot Boot-up Deployment from the Project window and click on Build. Allow it the time it needs to finish this process. Then, when it's done, make sure you're connected to the cRIO, and right-click it again but this time select Run as Startup.
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2012, 17:16
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: Real time application not built

Ok so I got it working.

Communications and Robot code are green lights. BUT the motor that is hooked up is not running with the joystick. The joystick is communicating, we have the two motors hooked up to PWM 1 and PWM 2 (The three prong connection, not two connections) and they pass through the jaguars which are blinking yellow. Power is going through fine. Is it hooked up wrong or what is up? I have not changed the code at all.

Last edited by Hebrew : 20-01-2012 at 18:04.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2012, 18:04
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: Real time application not built

Oops..didn't mean to do that.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi