LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My program execution is too slow

Yes.

 

You can put the Read function in a parallel loop. Pass the data via an Action Engine, a queue or an LVOOP class.  You will need to define what your PID loop will do while waiting for new data: reuse the old data, pause, saturate the output and destroy your load...

 

The Producer/Consumer Design Pattern shows how parallel loops can be used for this kind of situation.

 

Lynn

0 Kudos
Message 11 of 11
(224 Views)