Go to Post Geekier than me? That's a goal you can shoot for. You might make it, too -- in twenty years or so. :cool: - Richard Wallace [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 02-10-2013, 16:42
jman4747's Avatar
jman4747 jman4747 is offline
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 419
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
LabVIEW, have throttle run motor?

Have been trying to have my kop joystick throttle (axis 3) to vary the “set output” for my shooter motor if button 2 is pressed and boutton 3 is not pressed. As for boutton three when it is pressed the shooter should be and so far has been, running at %90 (.9 in LV). what am I doing wrong in these case structures?

*In the one photo B=bouton.
Attached Thumbnails
Click image for larger version

Name:	B2 on.JPG
Views:	45
Size:	24.7 KB
ID:	15247  Click image for larger version

Name:	All off.JPG
Views:	34
Size:	29.6 KB
ID:	15249  Click image for larger version

Name:	B2 off B3 on.JPG
Views:	39
Size:	35.6 KB
ID:	15250  
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
Reply With Quote
  #2   Spotlight this post!  
Unread 02-10-2013, 17:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: LabVIEW, have throttle run motor?


Would something like this do what you want?


Attached Thumbnails
Click image for larger version

Name:	button2&3.jpg
Views:	52
Size:	79.0 KB
ID:	15251  
Reply With Quote
  #3   Spotlight this post!  
Unread 02-10-2013, 17:26
jman4747's Avatar
jman4747 jman4747 is offline
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 419
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
Re: LabVIEW, have throttle run motor?

Thanks that looks good. I,ll try it and see. The only other thing I was worried about with this section of the code was if the axis 3's output numbers were 0-1 or not and if I needed to put an algorithm in between the axis 3 output and the set motor input so set motor did the right thing with it.
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
Reply With Quote
  #4   Spotlight this post!  
Unread 02-10-2013, 17:32
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: LabVIEW, have throttle run motor?

Quote:
Originally Posted by jman4747 View Post
The only other thing I was worried about with this section of the code was ... if I needed to put an algorithm in between the axis 3 output and the set motor
If so, break the wire at the red arrow and insert your code there.


Attached Thumbnails
Click image for larger version

Name:	button2&3b.jpg
Views:	24
Size:	79.8 KB
ID:	15252  
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 21:05.

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