From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

make two simultaneous processes

Solved!
Go to solution

Hello everyone, I'm starting to use Labview and I have a simple question, but I can not find solution. Attached is a file where we can see what happens.

 

In the example if I make the process A,  I can not begin B until the first end. How I can do both processes simultaneously?.

 

Thanks for your suggestions.

0 Kudos
Message 1 of 6
(2,326 Views)

Hi framirez,

 

in your VI everything runs parallel - but also ends very fast as there is no loop around all your code. So everything in there for "ProcessB" will be finished soon after starting the VI...

Best regards,
GerdW


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

Thank you for your answer, but if the process A is running, while in the countdown I can not run the process B, I must wait to finish the process A. What I wish is to make the process B while A is in the countdown. (If while running the process A press switch of the process B, it does not work)

 

Thank you for your interest.

0 Kudos
Message 3 of 6
(2,311 Views)

Hi framirez,

 

it's all in message #2: make a loop around "Process B"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,300 Views)
Solution
Accepted by topic author framirez

Thanks, it works correctly now.

0 Kudos
Message 5 of 6
(2,293 Views)

Hi framirez,

 

so the solution is "Thanks, it works now" and not "make a loop"?

Best regards,
GerdW


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