Go to Post Then as soon as we get the kit loaded into the back of my truck, we ferociously rip it open screaming "How many CIMs!?" - sanddrag [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 11-02-2009, 01:37
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: Full solenoid controll off of one joystick button?

Here's a VI that I puzzled out over a few days - it takes a lot longer when you're somewhat new to a language. I'm sure there are more efficient ways, but this works.

The single input is a boolean - it could be from a joystick button or anything else - and the output toggles when the input changes from zero to one. btw its meant to be used as a subVI.

-jonathan
Attached Files
File Type: vi toggle.vi (10.7 KB, 87 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2009, 02:06
m3rc1l3ss m3rc1l3ss is offline
Registered User
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Missouri
Posts: 14
m3rc1l3ss is an unknown quantity at this point
Re: Full solenoid controll off of one joystick button?

Wow, thank you, that is the exact thing that I was trying to figure out how to do. I will test this out tomorrow
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 furiousgeorge Programming 5 07-02-2009 15:57
How do I program a relay to turn on and off by pressing a button on the joystick? eweathers NI LabVIEW 4 28-01-2009 22:34
Programming a joystick button... programmr Programming 2 05-01-2009 16:13
More than one joystick from one port Jmoo Programming 3 26-06-2003 18:01
Two Pneumatics off one Double-Solenoid Valve GrahamS314 Pneumatics 5 24-02-2003 23:49


All times are GMT -5. The time now is 21:41.

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