LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time of loop...

Hi!
 
My vi, contains a while loop that reads a serial port in each cycle.
Depending on the answer, a process begins but duration of process is greater than the loop time. I must maintain the run time of loop, for that reason I cannot introduce the process within of while loop.
I have thought to put within loop, a call to vi that contains the process, using a invoke node, with run vi method.
Somebody could recommend another method to me and comment the improvements.
 
 
Greetings.
G.Garrigos.
0 Kudos
Message 1 of 2
(2,187 Views)
Hi Garrigos,

have you heard about the Producer-Customer-Pattern? Or about queues?
Both are often discussed here in the forum! And there are several examples delivered with LabVIEW.


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,171 Views)