LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous Routines

Good afternoon, 

We are building a robotic boat to clean the waters. We realize that there is a number of routines that need torun simultaneous.

What do you recommend to do?

Thank you.

manolo

0 Kudos
Message 1 of 4
(3,245 Views)

Hi manolo,

 

What do you recommend to do?

Run this "number of routines" simultaneously!

 

Have you heard about DATAFLOW? It's all you need…

Best regards,
GerdW


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

Here's what Gerd was talking about.  Here are two While loops, running simultaneously in parallel.  The only Data Flow shown here is the Error Line going in, meaning that these two loops start at (approximately) the same time, then run independently.

Parallel Loops.pngBob Schor

0 Kudos
Message 3 of 4
(3,125 Views)
Yes, you need parallel processes.Check here for some ideas:

http://www.notatamelion.com/2014/10/07/build-a-proper-labview-produceconsumer-pattern/

...and the following few posts.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(3,110 Views)