Go to Post Look past the robot. Look past your team. Science and technolgy are studies worth devoting your life too. - KenWittlief [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
  #16   Spotlight this post!  
Unread 04-02-2009, 13:23
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Pneumatics Programing

You can leave out the timer from the example. Just take the solenoid, etc. vi's. It should run at the same rate as your other joystick based functions.
That was just a stand-alone sample of a basic loop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #17   Spotlight this post!  
Unread 16-02-2009, 13:40
star_lancer's Avatar
star_lancer star_lancer is offline
Programming Addict
AKA: Mike Berney
FRC #2346 (CRASH)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Kansas City
Posts: 30
star_lancer is a jewel in the roughstar_lancer is a jewel in the roughstar_lancer is a jewel in the rough
Send a message via AIM to star_lancer Send a message via Yahoo to star_lancer
Re: Pneumatics Programing

Quote:
Originally Posted by Mark McLeod View Post
You want the solenoid check inside your teleop loop, since that's where you are reacting to joystick commands.

The compressor you want operating in both autonomous and teleop modes so that goes elsewhere.
Really, the compressor Open and Start should be in the Begin.vi and the Close in Finish.vi. You need to add the compressor cluster information to RobotData.ctl so it can be used in the Finish.vi

P.S. I'm assuming by what you said that you're using the Advanced Framework. If you're using the Basic one instead it's a little different.
Can I get an image on how this is done? I don't know what you mean by begin.vi or finish.vi
__________________
If you found anything I said helpful, please click the scales next to my post. I really appreciate those reputation points.
Team 2346 - Build, test, panic, repeat.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
starting programing... xanarchyx Programming 4 05-01-2008 23:48
Programing mormannoob FIRST Lego League 5 03-04-2007 14:02
Programing great_one411 General Forum 2 01-02-2003 17:27
Programing of controller DLyons Programming 0 29-11-2002 20:50
Programing pfortunejr Programming 1 08-01-2002 13:18


All times are GMT -5. The time now is 04:33.

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