|
Re: Run something only once in a while loop?
I believe First Call is a very specific function with a very important quirk to keep in mind. If said while loop is inside of a bigger loop, then the second time it is called, should the code run? With First Call, it will not run. With iteration check, it will run, since that is reset every time the loop is started.
There is also a bunch of LabVIEW quirks, if you run your code through your PC for debugging after some code has already run on the robot, you can't be sure whether First Call will reset or not, as LabVIEW seems to save the most annoyingly unpredictable bits of data when you do things like that.
First Call is a deceivingly simple yet advanced function and should not be introduced to inexperienced LabVIEW programmers.
Last edited by NeatNit : 14-03-2013 at 18:17.
|