Go to Post Bring 'em on, kiddies. You underestimate the power of Amanda Morrison. - Amanda Morrison [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-05-2013, 14:07
Program Spartan's Avatar
Program Spartan Program Spartan is offline
Current Vice President of Team 168
AKA: Nathan
FRC #0168 (MIB (Mechanical Investigation bureau))
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Miami,Fl
Posts: 24
Program Spartan is an unknown quantity at this point
Exclamation Help with building LabVIEW code

OK, I have used LabVIEW before but I'm still learning the software. I know how to use the coding techniques but one problem I have always had was building the code onto the cRio. What confuses me is what should I do to build the code. I know you have to use the build specifications option and run the robot main but for some reason, it is not allowing me to use the code for the robot. From the Driver Station, it tells me that the code is starving or there is too much when I run the coding. When I run teleop, the coding is there but I cannot move the robot. My team has used this robot during competition and it worked fine. The only problem was when I tried to use an additional motor, two solenoids, and a compressor, they would not work.
So here are my questions:
1. How can I build coding onto my robot without having to lose the data once the cRio turns off? What is the procedure?
2. What am I doing wrong with the coding?

To clear up the robot's purpose:
For the Ultimate Ascent Challenge, we made a canister to hold Frisbees. In the canister, near the bottom of it, is a solenoid that is suppose to extract once a boolean is pressed and retract once released (used to hit the Frisbees). Of course we use a compressor for air. The coding for it is in the periodic task. It is then launched into a spinning wheel to launch the Frisbees. The wheel is being controlled by a boolean. The main robot drive is operated in arcade drive and talons are being used. Take note, the first joystick is used for driving and the second one is used for shooting the Frisbees. And I have also placed a Wait(ms) function in Robot Main. Additional pictures will show the manipulated coding that I have placed in the project.
Any type of help would be nice.
Click image for larger version

Name:	Teleop.PNG
Views:	82
Size:	29.5 KB
ID:	14879

Click image for larger version

Name:	Begin.PNG
Views:	63
Size:	21.5 KB
ID:	14880

Click image for larger version

Name:	Periodic Task.PNG
Views:	46
Size:	16.7 KB
ID:	14881

Click image for larger version

Name:	Robot Main.PNG
Views:	48
Size:	31.4 KB
ID:	14882

Click image for larger version

Name:	Autonomous pt 1.PNG
Views:	53
Size:	23.7 KB
ID:	14883
__________________

Robots of the future:
"This can be made if we put our minds together to overcome failure (and if we have a lot of money)".
-Nathan J. Hagood
Head Programer
Electrical Intermediate
Reply With Quote
 


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 09:49.

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