WebMar 28, 2013 · I want to run two VI-s simultaneously. I have a VI (Lets say VI-1) that has 4 different parts (look at the image.). What I want is the following: 1. Run VI-1 (Has parts :A1,A2,B1,B2 and all parts will be active.) 2. While VI-1 is running, Run a different VI (VI-2) that needs to access the DAQ card and stage controls. 3. WebJan 10, 2015 · Modified 8 years, 2 months ago Viewed 2k times 1 Im working on running traffic lights on four cases by using case structure and Flat-sequence structure. For example, there is green light on first case, and the rest of the three cases should have red light.
run 2 vi at the same time - NI Community
WebJul 13, 2024 · Rather than writing the same code in multiple places, the smart action is to create a Sub-VI. In LabVIEW, the programmer can simply write the code once. Then, drag and select the code, plus any wires leading into or out of this section of the code. Under the “Edit” menu, select “Create Sub-VI.”. Figure 1. WebJun 8, 2024 · Your first attempt is very close to a working solution, all you need to do is move your "Time Elapsed" express VI inside of the loops and check for the timeout within the loop. Your stop flags in those loops are never reading … ghost ship publishing
Running Multiple VIs on a Real-Time Target - NI
WebAug 8, 2024 · Additional Information Although you cannot run VIs directly from the LabVIEW Run-Time Engine, you can create an LabVIEW executable from a VI that can calls another … WebDec 4, 2009 · Posted December 3, 2009. As multiple folks have said, in the absence of any data dependency between the loops, the loops will run in parallel as threads become available. One thread may race ahead of the other, one may even complete before the other gets started, and it will be different every time you run the VI. Webrunning simultaneously with the caller VI. I was adamant that this was not a possibility but retract that statement and accept that I have been sorely mistaken. I must now state that I am confused ;-) Is it very easy to position subVIs in such a way that they may not allow multi-threaded operation? I can only guess that all my previous ghost ship red dress