Go to Post Even when the system is "really good" it can always be tweaked a little to make it even better. - 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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 11-05-2008, 10:46 AM
mahmosh's Avatar
mahmosh mahmosh is offline
Registered User
FRC #1946
 
Join Date: Jan 2008
Location: israel
Posts: 125
mahmosh is an unknown quantity at this point
please some tell me how to start programing in labview

hey there ... i am from israel ... 1946 team ... i downloaded labview 8.5.1 program ... but i donno how to start... how to program for the new controller ... please i need ur help ...
mahmod...
Reply With Quote
  #2   Spotlight this post!  
Unread 11-06-2008, 12:57 PM
Roboj Roboj is offline
Registered User
no team (National Instruments)
 
Join Date: Apr 2008
Rookie Year: 2007
Location: Austin, TX
Posts: 15
Roboj is an unknown quantity at this point
Re: please some tell me how to start programing in labview

Quote:
Originally Posted by mahmosh View Post
hey there ... i am from israel ... 1946 team ... i downloaded labview 8.5.1 program ... but i donno how to start... how to program for the new controller ... please i need ur help ...
mahmod...
I suggest looking at ni.com/first

There are LabVIEW tutorials, videos on setting up the new system and writing programs, and other examples.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-06-2008, 05:23 PM
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: please some tell me how to start programing in labview

With LabView installed, on the opening screen there is a link called "Getting Started with LabView". It will be your best friend. Read & follow the instructions.
Also, see http://decibel.ni.com/content/community/first for the latest info from NI

Don
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 11-06-2008 at 08:05 PM.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-06-2008, 11:50 PM
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: please some tell me how to start programing in labview

The easiest way to learn any programming language (especially Labview) is to choose something you want to create for practice, and then attempt to build it. If you have $70.00 to spare, "Labview for everyone" covers most of the generic things you'll need to do. It really does go slow enough for anyone to follow along; if you're used to programming, you should be able to just skim through.

One of the most important and most useful things is the polymorphism (Labview handles most datatype conversion for you). Also, there's a lot of stuff hidden away in Mathematics, especially in the subpallettes of the "numeric" subpallette. Because of these two things, I found a lot of my origional subVIs weren't actually neccessary. If you have data in a cluster or array, remember that you can perform math on the array or cluster as a whole, instead of having to perform it individually to each item. Autoindexing (in both FOR and WHILE loops) is your next best friend.
Unless you find them to be unuseful and in-the-way, always have the context help and tool pallette visible.
__________________
-- Marshal Horn
Reply With Quote
  #5   Spotlight this post!  
Unread 11-07-2008, 07:51 AM
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,355
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: please some tell me how to start programing in labview

While the NI tutorials are good, they tend to be fragmented. Also if you have programmed in a procedural language before, the data flow mindset of Labview can be hard to embrace. I would recommend that anybody that has downloaded the Labview trial version and can't get going, should buy a book on labview. I liked Labview for Everyone. You can find several on Amazon. Books still have value.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-17-2008, 02:57 PM
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,581
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Re: please some tell me how to start programing in labview

So 2 years ago, when I discovered that we had zero programmers on my new team, I went through the EasyC tutorial in about an hour, and about 2 hours later I had all the code written to drive and operate the robot. I loved EasyC because it allowed me to teach programming logic (which I understand) to the students (who had never been exposed to it) without stumbling through syntax of a new language.

I have never used Labview, but I quickly glanced at some of the online tutorials and it appears to be kinda sorta like EasyC as far as drag and drop is concerned. Can I expect to figure it out in a couple of hours and teach my new students logic in the same way, or should I start taking my C++ books to bed with me at night and put Mike Walker's cell phone on speed dial?
__________________
Close enough to taste it, too far to reach it
Reply With Quote
  #7   Spotlight this post!  
Unread 11-17-2008, 03:15 PM
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: please some tell me how to start programing in labview

Gary: As Marshall [kamocat] said above, you should definately create some type of practice project for youself first, and then you should be able to recreate and advance it different ways to where you can easily explain it to your students. I personally created several different things including mapping an old usb joystick and using it to find the angle/direction/speed that it would drive different drivetrains should it be used later. This should be fairly easy for you if you are familiar with EasyC. There are several tutorials on here [no links atm] that tell you to create something such as a 'working' vending machine. After that, syntax and logic should be easily passed on to the students.
As far as writing code for the robots, you have to remember that WPI is creating a whole series of ... [the word escapes me but they are basically functions] that will aquire joystick and sensor values from the robot through cRIO. this is a horrible explanation of what they are but as long as you know you won't be dealing directly with writing code to get them.

~~Burmeister~~
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award

Last edited by Burmeister #279 : 11-17-2008 at 03:17 PM.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-17-2008, 07:02 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: please some tell me how to start programing in labview

Quote:
Originally Posted by Gary Dillard View Post
So 2 years ago, when I discovered that we had zero programmers on my new team, I went through the EasyC tutorial in about an hour, and about 2 hours later I had all the code written to drive and operate the robot. I loved EasyC because it allowed me to teach programming logic (which I understand) to the students (who had never been exposed to it) without stumbling through syntax of a new language.

I have never used Labview, but I quickly glanced at some of the online tutorials and it appears to be kinda sorta like EasyC as far as drag and drop is concerned. Can I expect to figure it out in a couple of hours and teach my new students logic in the same way, or should I start taking my C++ books to bed with me at night and put Mike Walker's cell phone on speed dial?
I think you'll find that LabVIEW is somewhere in between EasyC and a real text based language in the way you want to use it. One of the great parts of EasyC was the WPILib, which abstracted many things, making them simpler. That level of abstraction is built into both the LabVIEW and C++ libraries this year.

Unlike EasyC, LabVIEW is a real programming language (technically, G is the language). That means that there is syntax to know, it just looks different. Instead of complaining that you missed a semicolon, it will complain that you missed a wire. LabVIEW generally has good error messages too, which helps. I never used EasyC, though, so I can't make a real direct comparison.

If you haven't already, you should check out the video tutorials the NI has been posting on their FIRST Community. The Joystick Motor Control in 10 Minutes Tutorial should give you an idea of the minimum needed, and some of the other ones will demonstrate things more advanced.

No matter what route you choose, it's always a good idea to keep Mike Walker's cell phone on speed dial.
Reply With Quote
  #9   Spotlight this post!  
Unread 11-17-2008, 07:37 PM
RMS11's Avatar
RMS11 RMS11 is offline
Safety!!!!
AKA: Rick
FRC #2415 (WiredCats)
Team Role: Driver
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Atlanta
Posts: 263
RMS11 is a splendid one to beholdRMS11 is a splendid one to beholdRMS11 is a splendid one to beholdRMS11 is a splendid one to beholdRMS11 is a splendid one to beholdRMS11 is a splendid one to behold
Send a message via AIM to RMS11
Re: please some tell me how to start programing in labview

Is there a toolkit available to help with first robotics? If so, where can I download it. Is there much programming you can do without it?
__________________

2009 Peachtree Regional Champs
2009 Palmetto Regional Champs
2008 Peachtree Rookie All Star and Rookie Highest Seed
Reply With Quote
  #10   Spotlight this post!  
Unread 11-17-2008, 08:17 PM
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: please some tell me how to start programing in labview

As of yet, the toolkit is not released to the public. There ARE help files for this toolkit published, but don't expect the toolkit until December, when the control KOP is shipped out. (Unfortunately, this probably means you get the cRIO for christmas, not Thanksgiving. I really hope they don't pick a low-priority shipping; All I want for christmas is a cRIO.)
__________________
-- Marshal Horn
Reply With Quote
  #11   Spotlight this post!  
Unread 11-17-2008, 09:11 PM
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,581
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Re: please some tell me how to start programing in labview

Thanks for the advice.

My new team had its first mentors meeting tonight; guess who got pegged to be the software guy?

Yep.

And by the way, I don't need to put Mike's cell on speed dial. I've had it there for years.
__________________
Close enough to taste it, too far to reach it
Reply With Quote
  #12   Spotlight this post!  
Unread 11-18-2008, 07:46 AM
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: please some tell me how to start programing in labview

Quote:
Originally Posted by Gary Dillard View Post
I have never used Labview, but I quickly glanced at some of the online tutorials and it appears to be kinda sorta like EasyC as far as drag and drop is concerned. Can I expect to figure it out in a couple of hours and teach my new students logic in the same way, or should I start taking my C++ books to bed with me at night and put Mike Walker's cell phone on speed dial?
If you start with the assumption that LabVIEW is "sorta like EasyC" you'll quickly find yourself frustrated by the differences.

If you start with the understanding that the LabVIEW graphical programming language is a different kind of language altogether, you'll be able to get comfortable with it much more easily. The fundamental thing to keep in mind is that it's data which controls execution, not program structure per se. Each block is trying to execute simultaneously, waiting for its input to be available before doing its job and providing an output.

Unlearn what you know about procedural languages and embrace the goodness that is LabVIEW. That's my commitment for this season. Fortunately, LabVIEW for FRC will come with a wealth of applicable examples and tutorials. The brief glance I had at it last weekend gives me a very warm feeling about how well we will be able to use it.
Reply With Quote
  #13   Spotlight this post!  
Unread 11-23-2008, 09:17 AM
MorbidAngel's Avatar
MorbidAngel MorbidAngel is offline
Registered User
FTC #0392
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2012
Location: Niggaland
Posts: 11
MorbidAngel has a little shameless behaviour in the past
Re: please some tell me how to start programing in labview

You can go onto http://www.education.rec.ri.cmu.edu/...view/index.htm and they have lots of tutorials on how to do stuff
Reply With Quote
  #14   Spotlight this post!  
Unread 12-06-2008, 01:35 AM
rjmah rjmah is offline
Registered User
#1246
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 73
rjmah will become famous soon enough
Re: please some tell me how to start programing in labview

Quote:
Originally Posted by Alan Anderson View Post
If you start with the assumption that LabVIEW is "sorta like EasyC" you'll quickly find yourself frustrated by the differences.

Unlearn what you know about procedural languages and embrace the goodness that is LabVIEW.
I still think the best analogy for Labview is to think signal processing and electronic board layout. Digital and analog in to digital / analog out. What you put in Labview are amplifiers, comparators, conditional signals and many advanced functions to make your outputs.
__________________
Robert Mah
Team 1246 Agincourt Lancers
Reply With Quote
  #15   Spotlight this post!  
Unread 12-06-2008, 01:59 AM
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: please some tell me how to start programing in labview

Wow
That's a really good way of thinking about it. Here we have our reprogrammable hardware (FPGA), and we're programming it like true hardware (an electronic diagram). We could even go so far as to say arrays are our ribbon cables.
__________________
-- Marshal Horn
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tell me what you have (in games), please. 842.001 Games/Trivia 21 10-30-2006 03:05 PM
can anyone please tell mw where or with what can i lear programing in C techsage Programming 7 08-23-2005 12:25 AM
Tell me why I'm wrong. Please... archiver 1999 6 06-23-2002 10:28 PM
Please start posting comments/suggestions Ken Leung CD Forum Support 9 05-06-2002 04:57 PM


All times are GMT -5. The time now is 05:50 AM.

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