Go to Post I truly love zipties. They're so elegant - permanent, yet disposable. Strong, yet flexible. Ubiquitous, yet somehow.... special. - Kris Verdeyen [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 15-02-2011, 20:54
dahlboy15 dahlboy15 is offline
Vice President
AKA: Dyson Dahl
FRC #3290 (Robo-Bears)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Baudette, MN
Posts: 14
dahlboy15 is an unknown quantity at this point
Teleop halp

Ok first of all I should say that this is my first year programming, I have no mentors helping me, and no other people to help me understand. My teleop code is atrocious, it is absolutely horrible with while loops everywhere. Below I have attached my teleop vi and my attempt to fix it below. I have not had the chance to implement my "fixings" on the cRIO so I hope someone can look it over. Here is what I want it to do:

Drive in arcade mode.(works but I know that my old teleop is complete garbage for putting it into the loop)
Control the double solenoids with the press of one button. (Doesn't work, might be an electrical thing though. I am controlling a two coil solenoid with that code.)
When someone holds button two to have the window motor reverse. (Works in old junky teleop but if someone could lookover new one.)
When someone holds button three have the window motor go forward.(same situation as above.)
When someone holds button 6 to have the solenoid move forward and when someone releases to have it retract. It is a single coil solenoid. (Doesn't work in teleop because of the darned while loops I love to use.)
All the servo code doesn't work. It just points itself into one position and refuses to move.

I think that is all. I am new and alone so any examples you could provide would be a great help. Also I think we have to do a presentation tomorrow so the sooner the better This is part of my evolution as a programmer. If you could describe things in laymans terms that would be super but I know beggers can't be choosers so I'm grateful for anything. You can consider yourselves honorary members of Team 3290 for your help.
Attached Files
File Type: vi Teleop.vi (36.7 KB, 17 views)
File Type: vi cripper.vi (30.2 KB, 7 views)
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:14.

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