Go to Post [Bring] programmers [to Championships], they may be small, quite and easy to miss while leaving for Atlanta but its hard to do anything robotic without them, I've tried. - Simon Strauss [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 20-02-2012, 15:22
techno4229 techno4229 is offline
Registered User
AKA: marcus
FRC #4170
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: ca
Posts: 12
techno4229 is an unknown quantity at this point
Lightbulb Robot main motor control

ok what im trying to do is have a button not just control the motor speed but when im moving around with (x,y) i wanna to be able to push a button to slow motor but still use (x,y) to move then when i release it, it goes to normal speed possible?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2012, 15:33
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Robot main motor control

here you go. you can change the .5 to whatever you want. the false of this is just wiring the axis directly to the terminal
Attached Thumbnails
Click image for larger version

Name:	code.PNG
Views:	24
Size:	8.0 KB
ID:	12017  
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2012, 18:59
techno4229 techno4229 is offline
Registered User
AKA: marcus
FRC #4170
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: ca
Posts: 12
techno4229 is an unknown quantity at this point
Re: Robot main motor control

Quote:
Originally Posted by tilky View Post
here you go. you can change the .5 to whatever you want. the false of this is just wiring the axis directly to the terminal
thnx worked perfect... possible i can have it reverse? so its slow to .5 speed then when button to 1.0 ?
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2012, 19:50
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Robot main motor control

Yes, just reverse your cases. Make your "True" case read "False" and vice-versa.
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


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

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