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: 

Sub vi Execution Sequence Problem (Run time)

hello again please see the problem and reply your honorable advise

In "ProjectMain.VI" there are 3 task have to be done ,1. train have to move from one end to other(8Minuit interval) ,2.continues Motion of Fan,3.Air Movement.

 

all these task are being performed but the problem is whenever train start Run Air And Fan motion are stope and in the same way air start train and Fan Stop...

i want to continues Run of Fan Air and train Motion(for 8Minuit interval ) without any interruption untill the Mode changed

 

looking for your honorable Advise Solution etc

please help me

 

0 Kudos
Message 1 of 4
(2,263 Views)

Hi Semak,

 

you should really enhance this program ASAP Smiley Wink

 

- You don't need all those sequence structures. Use proper dataflow instead.

- When all those processes should run in parallel you should also program them in parallel loops! Use a programming scheme like producer-consumer loops, your GUI being the producer (of commands), your several processes being the consumer (reacting on commands)...

Best regards,
GerdW


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

Try this..

Prabhu V
0 Kudos
Message 3 of 4
(2,248 Views)

ok thanks

 

anything else OR any TIPs how to improve this

any suggestion

waiting

0 Kudos
Message 4 of 4
(2,236 Views)