Go to Post That seems like a pretty cool idea! Who'da thunk o' dat?! :rolleyes: - dlavery [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 18-01-2016, 11:14
VrewDaive VrewDaive is offline
Registered User
FRC #4284
 
Join Date: Sep 2015
Location: Cincinnati
Posts: 21
VrewDaive is an unknown quantity at this point
1st year labview noob question

So our team up until this year has run all of our robots on java, This year however they have decided to switch to labview because in the long term it is easier and more resources for help. Ive ran through multiple tutorials and still feel buried in the expansiveness of labview, My question, In the creation of the labview project you get to choose what drive you want, I selected the mecanum with arm and found the code in the teleop.VI. My question is with the code that it gives me for mecanum drive, http://imgur.com/AlZOSdt , how do i assign motors to " four motors" drive? any help appreciated. Thanks alot!

Last edited by VrewDaive : 18-01-2016 at 11:21.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2016, 11:20
VrewDaive VrewDaive is offline
Registered User
FRC #4284
 
Join Date: Sep 2015
Location: Cincinnati
Posts: 21
VrewDaive is an unknown quantity at this point
Re: 1st year labview noob question

Would something like this work? http://imgur.com/E6CGZXM sorry for noob question
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2016, 13:04
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,833
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: 1st year labview noob question

That is the right approach, but in the wrong place.

The number of motors are set in Begin.vi.
Look there for an Open 2 Motors and replace it with the Open 4 Motors.

The reason you want to Open the motors in Begin.vi is that it only gets called once to set things up.
Teleop.vi gets called 50 times a second, so Opening something there will try to create it 50 times a second.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2016 at 13:08.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2016, 14:08
VrewDaive VrewDaive is offline
Registered User
FRC #4284
 
Join Date: Sep 2015
Location: Cincinnati
Posts: 21
VrewDaive is an unknown quantity at this point
Re: 1st year labview noob question

Thanks for the reply! And will do. Sorry for the bad phrasing of the question but I greatly appreciate it.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2016, 10:37
Robomarfa Robomarfa is offline
Registered User
FRC #5771 (Robohorns)
Team Role: Teacher
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Marfa, Texas
Posts: 24
Robomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to beholdRobomarfa is a splendid one to behold
Re: 1st year labview noob question

Good luck! We are a second year team. We got LabView running in Week 4 of build in our Rookie year and still made it to World!

We are better off this year and just beginning to see how to use the software in a smart way. It will be years before we have explored all the features, meanwhile new features will continue to be developed. I am impressed with how quickly students can pick it up. The edit/deploy cycle is incredibly fast for trying out different ideas.

Our next goal is to get Vision working with LabView.
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 20:25.

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