09-18-2008 01:42 AM
Hi,
I'm a newbee with LabVIEW and I'm not a programmer and bad at programming, just a usual student unfamiliar with it.
Unfortunately, my lecturer gave me project to control elevator using LabVIEW and cRIO 9004.
I've read both the help and manual for LabVIEW and cRIO, but still can do nothing but messy 😞
For this 2 weeks, I only can connect the cRIO with LabVIEW, got very dizzy with the programming & FGPA things
Is there anybody can help me by giving me:
1. examples of elevator VI and a lil' bit descripton on it?
2. step by step tutorial about how to produce analog output from my cRIO? (I can't even understand the analog-output example on the module)
3. step by step tutorial about how to upload the (1) programme to cRIO?
4. labview for dummies?
sorry if I ask too much, may be I'm really not supposed to be in engineering fields because my lack of ability 😞
--hope somebody help me--
09-19-2008 07:57 PM
Hi un-programmer, 🙂
I'm sorry to hear about your frustration. Let's break the problem down a little for starters.
1. What do you mean by elevator VI or program? Is this an example program you found with the Example Finder? If it's your custom program, maybe you could post it online for us to have a look at?
2. So, you'd like to set up your cRIO for analog output. I'd recommend starting with the basics:
a) Does your lecturer or TA understand how the cRIO works and are they willing to explain it to you? They probably will be able to tell you that a cRIO project will often have VI's in three different "locations." Typically, the FPGA VI is the LV code that will be automatically compiled into VHDL code and "written" to the FPGA upon deployment; the Real-Time VI is the VI that handles the deterministic processing of the data coming to/from the FPGA; and the host computer (PC) VI is used to handle the storage of data that is transfered (usually by network-published shared variables). That's important information to start with.
b) Have you read the Getting Started Guide found at <http://www.ni.com/pdf/manuals/372596a.pdf>?
c) Here is a link to the sample Course Manual for the CompactRIO and LabVIEW Development Fundamentals Course: <http://www.ni.com/pdf/training/us/crio_sample.pdf>. It happens to cover some of the basic setup procedures for the cRIO and may be worth reading.
d) I also recommend going through help files where applicable. The "context help" feature (ctrl+H) in LabVIEW is useful for interpretting the purpose of LabVIEW functions, too. Can you get a copy of the manual?
3. FPGA code deployment: just run the FPGA VI. It should compile and then deploy it to the FPGA.
4. Regarding further training, there are definitely LabVIEW websites that outline the basic functions of LabVIEW. I am not so sure about LV FPGA online training, so you'll have to look around.
You could also give us a call at 866.ASK.MY.NI to open up a Service Request and we can help you troubleshoot problems.
If you were to ask more experienced engineers about the relative difficulty of LabVIEW and/or cRIO and I am sure they would almost all say that things have gotten much more intuitive and "easy" as time goes on. That's good news for you just as much as it is for the rest of us. We all have to start somewhere and our success is generally determined by our enthusiasm. If you're passionate about technology and engineering, then no one can tell you you're supposed to do anything else. Welcome to the community.
Regards,
Dan Richards
09-19-2008 10:32 PM
1. I mean, a VI program to control elevator. I don't find it in example, nor I can make it till now, so I'd like to ask if someone have it.
2.
a. Actually I still don't understand about the Real-Time VI. I know host VI is program on computer, and FPGA VI is program on FPGA (computer inside cRIO?), but Real-Time VI?
b. I haven't read it before.Thanks, I'll feed back again 🙂
c. Is there any full-version of this training?
d.Yes I use Help everytime, but didn't help me a lot.
3. HereI attach my VI, trying to follow the LabVIEW FPGA and CompactRIO Getting Started Tutorial by NI. I try to run it, but always error although I follow the instruction (the only difference is that I don't use DO module, instead I have a NI9505). Can you help me?
4. ok, I'm still searching till now 🙂
thanks a lot ^^
09-24-2008 02:55 PM
Hello,
I forgot to mention that if you search at www.ni.com for cRIO tutorial and follow the links that populate, you should be able to find some pretty good free tutorials that will walk you through the basics of using the cRIO. Try that, and then I would recommend starting a new forum post for each specific troubleshooting question you have. That way, others in the community might be able to tell immediately if they are able to help you.
Regards,
Dan Richards