01-17-2012 10:37 AM
I'm trying to teach myself how to use labview 7.1 but having difficulty figuring out how to use the functions correctly. I'm trying to create a simple loop to count from 1-10 with a 1 second delay between each number. I would appreciate the help!!!
Solved! Go to Solution.
01-17-2012 10:48 AM - edited 01-17-2012 10:51 AM
Have classes started again?
Key words are "loop" (try a FOR loop from the structures palettte), "delay" (try a wait(ms) from the timing palette). Use a diagram constant for the "1 second" (or 1000ms). and use a numeric indicator to display the current count (e.g. using an indicator wired to the iteration terminal of the FOR loop). Since [i] starts counting from 0, use a +1 primitive first. Wire a constant to the N of the loop to determine the total number of iterations. You should be able to figure out the correct value, either by math or by trial and error. 😉
Now try to assemble everything, shouldn't be too hard. Where are you having problems? Have you looked at the examples? Have you done any tutorials?
Once you have a draft, post it here and we can suggest possible improvements.
01-17-2012 11:16 AM
Cool thanks for the help with that. This isn't for a class I'm learning it for work purposes I'm sure I will be posting a ton more over the next couple of weeks.
01-17-2012 12:02 PM
@botenb wrote:
Cool thanks for the help with that. This isn't for a class I'm learning it for work purposes I'm sure I will be posting a ton more over the next couple of weeks.
If you are doing it for work I would try to talk them into a class and make your life a little easier. There are many options for getting training.
There are free options http://www.ni.com/gettingstarted/labviewbasics/ or just search the web. But the NI site has tons of information and examples.
Paid options range from buying a LabVIEW book "LabVIEW for Everyone" or taking a self paced NI course with a CD or take an actual NI course (more expensive).
I have taken a few LabVIEW courses at a local college through the adult education programs and a few on CD from NI.