|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
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... |
|
#2
|
|||
|
|||
|
Re: please some tell me how to start programing in labview
Quote:
There are LabVIEW tutorials, videos on setting up the new system and writing programs, and other examples. |
|
#3
|
|||||
|
|||||
|
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 Last edited by DonRotolo : 06-11-2008 at 20:05. |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
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.
|
|
#6
|
||||||
|
||||||
|
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? |
|
#7
|
||||
|
||||
|
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~~ Last edited by Burmeister #279 : 17-11-2008 at 15:17. |
|
#8
|
||||||
|
||||||
|
Re: please some tell me how to start programing in labview
Quote:
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. |
|
#9
|
||||
|
||||
|
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?
![]() |
|
#10
|
||||
|
||||
|
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.)
|
|
#11
|
||||||
|
||||||
|
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. |
|
#12
|
|||||
|
|||||
|
Re: please some tell me how to start programing in labview
Quote:
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. |
|
#13
|
||||
|
||||
|
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
|
|
#14
|
|||
|
|||
|
Re: please some tell me how to start programing in 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.
|
|
#15
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tell me what you have (in games), please. | 842.001 | Games/Trivia | 21 | 30-10-2006 15:05 |
| can anyone please tell mw where or with what can i lear programing in C | techsage | Programming | 7 | 23-08-2005 00:25 |
| Tell me why I'm wrong. Please... | archiver | 1999 | 6 | 23-06-2002 22:28 |
| Please start posting comments/suggestions | Ken Leung | CD Forum Support | 9 | 06-05-2002 16:57 |