Go to Post Oh, you know us...kicking puppies and stealing candy from babies and all. :rolleyes: - Travis Hoffman [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 17-02-2009, 15:47
chinckley chinckley is offline
Winner 2009 West Michigan District
FRC #1254 (Entropy)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Lawrence, Michigan
Posts: 204
chinckley is a name known to allchinckley is a name known to allchinckley is a name known to allchinckley is a name known to allchinckley is a name known to allchinckley is a name known to all
Re: Programming buttons help!

Quote:
Originally Posted by rhoads2234 View Post
if you want it to only rotate 90 degrees, you will have to have some sort of sensor (limit switch, encoder or potentiometer) Be careful if you use a potentiometer- they have a limited range.

As for how to get a button to send signal to a motor,
use the "get" VI for a joystick and unbundle the button output (I recommend unbundle by name)
wire one of the buttons you want to use to a case structure (to the question mark) and in the true statement put a set speed for your motor. Create a constant for the speed.
wire the other button to another case structure and do the same thing, but your constant should be 0 this time.
Is there a tutorial section on this? I have looked at Tip Jar and have a confusion about how to use and connect VI's. We are interested in using the following type Joystick button control.

Will it allow me to use the triggers on the joysticks to move the chain forward and backwards and use the top button to move the dumper forward and back? Where do I put this code and how do I hook it to the Main?

I found out that the dumper is using the Keyang motor and the chain is using the globe motor and the drive motors are the CIMS.

Thanks for all help.
Attached Files
File Type: doc 2 button.doc (26.0 KB, 47 views)
__________________
2009 West Michigan District Winner
Thanks to Team 216 and Team 1918

2009 Traverse City Semifinalist
Thanks to Team 1596 and Team 47
2009 Traverse City UL Safety Award Winners

Attending 2009: West Michigan, Traverse City, & State

Last edited by chinckley : 17-02-2009 at 15:50. Reason: added motor types
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
Programming 2 buttons for a relay team877 NI LabVIEW 15 18-02-2011 00:18
programming buttons tyson2010 NI LabVIEW 2 12-02-2009 22:17
programming a motor to two buttons solomason519 Programming 2 28-01-2009 12:37
Help Programming Buttons LordFrz Programming 3 14-02-2008 13:55
Programming Extra Joystick Buttons Inverted Programming 2 08-02-2007 11:45


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

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