02-08-2018 01:09 PM
Hi Michael,
are there any options for running the first line only once (let's say outside of the while loop), and if cycles inside the loop?
Sure!
As you said yourself: "outside the loop" - more specifically "before the loop" according to THINK DATAFLOW…
if cycles
With your first message I wondered about that term.
Now I think you are talking about "if-then-else-endif" structures. (Never heard of calling them "cycles" before.)
02-08-2018 02:35 PM
GerdW,
Is it right? Even my colleagues usually refer to "if-..." structures as cycles or loops. "Structure" only for official documentation. So pardon me, but you know..."potayto, potahto" 🙂
I think I crack my code with initialization of some of the variables "before" the while loop and with some native Labview structures. Thanks to everyone who helped me out to work this out. Hopefully this topic will be useful for Matlab coders as well.