|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Run something only once in a while loop?
Something I can't test right now - many inexperienced LabVIEW programmers like to use Run Continuously (or whatever it was called, the loopy button next to the normal run button) for testing their loop code. How does First Call react to that? For the record I intend never to teach about this button ever again, just because of the confusion it causes, and the horrifying habit of pressing it always instead of normal run.
|
|
#2
|
|||
|
|||
|
Re: Run something only once in a while loop?
It works the same as pressing run immediately after the VI finishes. It inits between each run of the diagram.
Greg McKaskle |
|
#3
|
||||
|
||||
|
Re: Run something only once in a while loop?
I know how it works, but when someone is new to LabVIEW, the first tasks for teaching them are mostly input, linear calculations, and output. To test this we use the Run Continuously button, so we can see how the output responds to our input immediately. This causes the hard-to-break habit for new programmers to always use the Run Continuously button instead of the Run button.
$@#$@#$@#$@# annoying. Edit: lol, that looks a lot more angry than the original xD |
|
#4
|
|||
|
|||
|
Re: Run something only once in a while loop?
You can, of course, teach in any way you like.
I've used LV for over twenty years, and to me, it is just another feature. It is handy for quick things and not meant for finished applications. Greg McKaskle |
|
#5
|
||||
|
||||
|
Re: Run something only once in a while loop?
Yes, I'm well aware of its usefulness (but you have to admit, it doesn't take that much time to make a while loop and a stop button), it just causes bad habits.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|