LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe run more times by click icon just like VB program?

exe made by labview can run more times just like VB program?
 
I have completed  the program of display the state of my machine through serial port. The program was designed as show only one machine's state, and if more than one machine's state needs to be displayed, i hope the program can run duplicately or triplicately. Can it be realized?
 
Can dynamically called subvi(set ad reentrant  vi) solve my problem? 
When i try to  run the same subvi with invoke (run vi method),the "Error 1000 occurred at Invoke Node" appeared.
 
If the dynamically called subvi  can do, subvis of subvi need to be set as reentrant too? subvis of subvi don't need to share information between different machine.
 
 
0 Kudos
Message 1 of 4
(2,543 Views)
You can open a single multiple times as separate pop-ups if you save the subVI as a template (.vit extension) and use the run VI method on that.
0 Kudos
Message 2 of 4
(2,528 Views)
I try the method of save as *.vit, it works, but the subvi i want to invoked repetitiously have many subVIs(subsubVIs).
How do i deal with them.  Will they conflict when called by subvis.
 
Also, the subvi's name will be changed to xx 1.vi、xx 2.vi、xx 3 .vi ……
 
Thanks in advance for any tips.
 
0 Kudos
Message 3 of 4
(2,513 Views)
The 'subsubVIs' may or may not be a problem. It depends greatly on what they are and what they do. In some cases, making them re-entrant will help. You should read the shipping document called Using LabVIEW to Create Multithreaded VIs for Maximum Performance and Reliability. There is a section in there on re-entrant VIs. There also have been numerous threads in this forum on the subject.
0 Kudos
Message 4 of 4
(2,508 Views)