Go to Post They know how to make paperweights into other objects, like robot controllers. - Greg McKaskle [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 23-02-2011, 08:33
Nicandy's Avatar
Nicandy Nicandy is offline
Registered User
AKA: Nicole/Andy
FRC #3580 (Marinerds)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cape Coral
Posts: 23
Nicandy is an unknown quantity at this point
Re: how do you make 2 joysticks run 4 motors on labview

Quote:
Originally Posted by PatrickS View Post
In your Begin.vi use the open 4 motors instead of open 2 motors. You will also need to open up another joystick. Then in your Teleop.vi instead of using ArcadeDrive.vi use TankDrive.vi and link it to your open 4 motors you initialized in Begin.vi. Then plug in the two joysticks and you should be good to go.

Remember to close everything in Finish.vi.


Make sure you make use of the examples they provide. Here is the TankDrive example:

Is that in the Begin.vi or in the teleop.vi?
Reply With Quote
  #2   Spotlight this post!  
Unread 23-02-2011, 09:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: how do you make 2 joysticks run 4 motors on labview

Here's a similar Tank Drive example.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 23-02-2011, 11:12
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: how do you make 2 joysticks run 4 motors on labview

Quote:
Originally Posted by Nicandy View Post
Is that in the Begin.vi or in the teleop.vi?
As a general rule:
Opens go in Begin. Gets and Sets and Drives go in Teleop. Closes go in Finish.

Read the LabVIEW tutorial on how to integrate examples into a robot project.
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 09:15.

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