Go to Post One wouldn't want to keep the red herring in hand, that gets kind of stinky. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-09-2008, 14:22
starsROBOTICS starsROBOTICS is offline
Registered User
FRC #2276 (S.T.A.R.S)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2006
Location: texas, houston
Posts: 44
starsROBOTICS is on a distinguished road
programming help

Ok im a beginner programmer.
Last year i programmed using easy c, and yes it was easy.
I have a very little experience with labview and i want to know how to use it. I know how to program them little codes but what i need helpl with is like how do i program the joysticks. I am absolutely clueless. Can someone also give me example codes of last year so i can look over and review them.
__________________
  #2   Spotlight this post!  
Unread 01-09-2008, 14:29
Branden Ghena's Avatar
Branden Ghena Branden Ghena is offline
Previously: tawnos23
FRC #0240 (TEMPEST)
Team Role: College Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Houghton, Michigan (MTU)
Posts: 303
Branden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura about
Re: programming help

Do you want to know how to program the joysticks to drive motors with C or with labview?
__________________
Branden Ghena - Michigan Tech Student and Team 240 Alumnus
Working Towards: Electrical Engineering and Computer Engineering Double Major

"All we have to decide is what to do with the time that is given to us." - Gandalf
  #3   Spotlight this post!  
Unread 01-09-2008, 14:33
starsROBOTICS starsROBOTICS is offline
Registered User
FRC #2276 (S.T.A.R.S)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2006
Location: texas, houston
Posts: 44
starsROBOTICS is on a distinguished road
Re: programming help

I want to know how to program it with labview cause thats pretty much what were going to have to work with in the 09' competition.
I know how to use easy c but unfortunatley it was too easy
__________________
  #4   Spotlight this post!  
Unread 01-09-2008, 20:04
pogenwurst pogenwurst is offline
Ubuntu User
AKA: Brian
FRC #2007 (Robots of the Round Table)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Duluth, GA
Posts: 78
pogenwurst is on a distinguished road
Send a message via AIM to pogenwurst
Re: programming help

Quote:
Originally Posted by starsROBOTICS View Post
I want to know how to program it with labview cause thats pretty much what were going to have to work with in the 09' competition.
Not to sound disrespectful, but why do so many people keep saying this? It's been explicitly stated that C/C++ will be a programming option, and we've not yet heard to the contrary. (Addendum: "were [sic]" may have referred to your team, and not FRC teams in general)

That said, I'd like play with both, and see which seems most suitable.

As for learning LabVIEW, this has been discussed frequently, and the common suggestions are as follows:
-> go through the tutorial CDs included in the '08 kit
-> practice by programming an NXT bot in LabVIEW
-> follow the many online tutorials pertaining to LabVIEW, both on NI's main site and its FIRST Community site
  #5   Spotlight this post!  
Unread 01-09-2008, 20:06
Branden Ghena's Avatar
Branden Ghena Branden Ghena is offline
Previously: tawnos23
FRC #0240 (TEMPEST)
Team Role: College Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Houghton, Michigan (MTU)
Posts: 303
Branden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura about
Re: programming help

I'm sure someone will put out some kind of main code or robot programming guide for labview once the season gets closer to starting. If you are looking for FIRST specific labview programming help.
__________________
Branden Ghena - Michigan Tech Student and Team 240 Alumnus
Working Towards: Electrical Engineering and Computer Engineering Double Major

"All we have to decide is what to do with the time that is given to us." - Gandalf

Last edited by Branden Ghena : 01-09-2008 at 20:07. Reason: Clarification
  #6   Spotlight this post!  
Unread 01-09-2008, 21:44
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: programming help

To answer two of your questions:

There will be C/C++ programming available, although maybe not easyC. But we're trying as hard as we can to make it simple to do simple things in C. So using joysticks, and basic robot driving will be as short as we can make it while still being extensible for adding all your customizations.

And there will be documenation for all the LabVIEW VIs that will be availalble. It's going to beta soon, and I'd expect the documenation, at least, will start becoming generally available soon after that.

Brad Miller
WPI Robotics Resource Center
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #7   Spotlight this post!  
Unread 01-09-2008, 23:33
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: programming help

Quote:
Originally Posted by BradAMiller View Post
To answer two of your questions:

There will be C/C++ programming available, although maybe not easyC. But we're trying as hard as we can to make it simple to do simple things in C. So using joysticks, and basic robot driving will be as short as we can make it while still being extensible for adding all your customizations.

And there will be documenation for all the LabVIEW VIs that will be availalble. It's going to beta soon, and I'd expect the documenation, at least, will start becoming generally available soon after that.

Brad Miller
WPI Robotics Resource Center
I for one vote for having as much documentation as possible available as soon as possible. Even if it is beta documentation.

I started as a mentor last month. My team has been using IFI and Kevin's code. I have been considering porting our implementation of the 2008 robot to WPILIB in hopes that the 2009 WPI package under Windriver will resemble the existing package. Is that a reasonable assumption and is it worth my time to do the port?
Thanks
Randy Wood
  #8   Spotlight this post!  
Unread 10-09-2008, 07:55
Comatose Comatose is offline
Registered User
AKA: Lead Student Programmer
FRC #0135 (Penn Robotics)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: United States of America
Posts: 27
Comatose is an unknown quantity at this point
Re: programming help

This post has been taken the wrong way by alot of you. He asked for sample code in LV you know, not a discussion on why you don't like people stating LV is the language their going to use. Just saying in defense of the poor soul who asked for help.

Last edited by Comatose : 10-09-2008 at 07:58.
  #9   Spotlight this post!  
Unread 10-09-2008, 08:24
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: programming help

Quote:
Originally Posted by starsROBOTICS View Post
Ok im a beginner programmer.
Last year i programmed using easy c, and yes it was easy.
I have a very little experience with labview and i want to know how to use it. I know how to program them little codes but what i need helpl with is like how do i program the joysticks. I am absolutely clueless. Can someone also give me example codes of last year so i can look over and review them.
Sorry for hijacking your thread.
I am just starting with LV myself, but I'll see if I can help.

I don't think that anyone used LV with joysticks last year. It was mainly used for Dashboard type functions.

In 2009, we will have the new operator interface that will include the Joystick input. As of now, we don't know exactly how that is going to work.

I searched on ni.com for usb & joystick and found the following examples:
How Can I Monitor a Joystick, Keyboard, or Mouse in LabVIEW?
http://digital.ni.com/public.nsf/all...256DD000669EFE

Motion Control with USB Joystick
http://zone.ni.com/devzone/cda/epd/p/id/4726

I hope that it helps. You also might try searching in LV help for joystick and see if you can find anything.

Good luck,
Randy Wood
P.S.
These examples may or may not be correct for the version of LV that we are going to have in 2009.

Last edited by rwood359 : 10-09-2008 at 08:41. Reason: Disclaimer added
  #10   Spotlight this post!  
Unread 10-09-2008, 11:25
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: programming help

Quote:
Originally Posted by Comatose View Post
This post has been taken the wrong way by alot of you. He asked for sample code in LV you know, not a discussion on why you don't like people stating LV is the language their going to use. Just saying in defense of the poor soul who asked for help.

I posted some sample code to address this question here.


Single post link
  #11   Spotlight this post!  
Unread 10-09-2008, 11:50
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: programming help

Quote:
Originally Posted by Comatose View Post
This post has been taken the wrong way by alot of you. He asked for sample code in LV you know, not a discussion on why you don't like people stating LV is the language their going to use. Just saying in defense of the poor soul who asked for help.

I posted some sample code to answer this question here
Closed Thread


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 help 1337.etoile Programming 13 07-05-2008 08:48
C Programming Help Computermaster General Forum 2 10-01-2008 18:53
PLEASE HELP!! Need help programming arm?? amirjpl Programming 12 15-03-2007 15:11
HELP-URGENT PROGRAMMING HELP NEEDED Rohith Surampudi Lego Mindstorm Discussion 1 24-03-2006 23:05
programming help... Shlomi32 Programming 1 08-12-2005 12:28


All times are GMT -5. The time now is 19:23.

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