Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68886

Nested FOR loops and flat sequence - A good design ?

$
0
0

Hi,

 

My idea is to design an optimum modular program which is best on compiler optimizations.

 

Right now, I have 3 FOR loops with flat sequences based in each one of them, the execution is in sequence becacause I have to move X motor and then Y motor and repeat until END.

 

 

But I am not sure if this is best habit to be followed when programming. Please do advise what other methods can be followed.

 

 

NOTE: There is no actual working code here, just a illustration of the method I had been doing till now.

Thanks.

 

PS: Please find the attached VI.


Viewing all articles
Browse latest Browse all 68886

Trending Articles