03-03-2009 03:05 AM
Hello,
I have a main VI, and a second VI
in the main VI, i will put a button, Add new OVEN, when the user press it, the second Vi will run and Capture the Oven Datas.
When i click again this button, Another Windows of the Second VI will start and Capture the Second Oven Datas...
ect...
I dont know how to make my VI run Many Times.. as in parallel mode... Same Vi running.. and not connected with the Other one...
Thank you all for you help,
//The Best Way to Predict The Future is To Invent it//
Solved! Go to Solution.
03-03-2009 03:33 AM
Good morning
Check example in: C:\Program Files\National Instruments\LabVIEW 8.5\examples\viserver\runvi.llb
03-03-2009 03:58 AM
Hello,
I am trying to do this.. without using the TCP server.. cause i will use it inside my VI,
after putting In the option Field in the OPEN VI Reference the Value (8.. As an reentrant VI..)
I am having the Following Error
The fonction Open VI cannot prepare an (Non-reentrent VI for an Reentrant execution)..
how can i change my VI to an Reentrant one??
Thank you Very much for ur Valuable help,
Best Regards,
03-03-2009 05:17 AM
VI set reentrant in properties of VI in Execution section.
🙂
03-03-2009 05:21 AM
check:
http://zone.ni.com/reference/en-XX/help/371361A-01/lvconcepts/suggestions_for_exec/#Simultaneously_Calling_SubVIs_from_Multiple_Places
03-03-2009 10:24 AM
03-03-2009 11:38 AM
Thank you.
I finished in this moment 😉
08-14-2009 09:00 AM
Hi, I am practicing the same settings on the reentrant flag of the subVI, but yet it doesn't work! The url link on the thread which is cosidered the solution is no longer available! please advice.
Siamak
08-14-2009 09:38 AM
Here are a couple other articles. What do you mean it doesn't work? Does your main VI call the subVI multiple times, but only one instance is executed at a time? Some other problem?
http://decibel.ni.com/content/docs/DOC-5598
http://digital.ni.com/public.nsf/allkb/98847B4E4C715E6D86256C59006B57CC
08-14-2009 10:19 AM
Calling reference to the subVI is in the loop (LoopA) (with different parameters), and there is a main loop (LoopB) in the subVI. LoopA does not proceed after the first iteration. When I stop the subVI loop (LoopB) from the main VI using a shared variable, then LoopA grows up.
I will take a look into the links you forwarded, and will do more tests.
Cheers,
Siamak