Go to Post I began to see myself as an independent person who was not only being inspired, but able to inspire others and strengthen the FIRST program as a whole. - Jaine Perotti [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 13-02-2010, 00:51
DWirth DWirth is offline
Registered User
FRC #2509
 
Join Date: Feb 2009
Location: Hutch
Posts: 10
DWirth is an unknown quantity at this point
I Button Press, Always True Until Next Press

Hello,
I am programming 2 pneumatic cylinders to push something up and keep it up. However the way I have it now, you would have to hold the button down to keep the 2 valves the correct boolean value.
I want the button on the joystick to be pressed once then stay true until I press the button again which would turn it back to true. This thing I would want to turn to true of false is a case structure.
Does anyone have any ideas on how I would achieve something like this, I'm out of ideas. Any help would be awesome.
Thanks again,
Dillon Wirth

Last edited by DWirth : 13-02-2010 at 01:36.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2010, 01:36
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: I Button Press, Always True Until Next Press

Quote:
Originally Posted by DWirth View Post
Hello,
I am programming 2 pneumatic cylinders to push something up and keep it up. However the way I have it now, you would have to hold the button down to keep the 2 valves the correct boolean value.
I want the button on the joystick to be pressed once then stay true until I press the button again which would turn it back to true.
Does anyone have any ideas on how I would achieve something like this, I'm out of ideas. Any help would be awesome.
Thanks again,
Dillon Wirth
Dillon,

Read through this thread. Your answer may lie within...

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2010, 16:47
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
Re: I Button Press, Always True Until Next Press

Feedback loop is the best way to go. The help in the Labview Help library will explain more in depth.
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11
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
Joystick Button Press dboisvert C/C++ 6 07-03-2009 11:09
Arbor Press RMS11 Technical Discussion 11 14-08-2008 23:41
Intelitek Loader Press PRGM Button Fail ttldomination VEX 1 25-02-2008 19:36
press fitting crazy_ratchet Technical Discussion 7 08-12-2003 18:03
Can a student Coach press the Stop Button archiver 2001 3 24-06-2002 02:39


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

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