LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically open two front panels of the the same v.i type

Solved!
Go to solution

i would to know if it's possible to programmatically open two front panels of the the same v.i type but with the activity on one front panel not affecting the activity on the other front panel..for example like the way you would open two windows of a browser e.g chrome ....thank you

0 Kudos
Message 1 of 11
(3,619 Views)
Solution
Accepted by alpony01

You want to open two instances of the same VI?  That's simple.  Just make the VI reentrant.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 11
(3,615 Views)

thanks but i dont understand the meaning of making a  v.i reentrant..could you please elaborate?

0 Kudos
Message 3 of 11
(3,603 Views)

Here is an example VI I made a while ago.  Open Main.VI then click for a new window, or click and drag from the listbox.  It just relaunches a new instance of a reentrant VI.

0 Kudos
Message 4 of 11
(3,590 Views)

You will also need to select the reentrancy options for the VI that you want to open multiple instances of.  See the attached pictures.  The shortcut for it is Ctrl-I.

Download All
0 Kudos
Message 5 of 11
(3,586 Views)

While this is not directly related to your problem, I think you would benefit from taking the online tutorials.  The fact that you refer to vi's as v.i's leads me to believe your experience with LabVIEW is minimal.

 

Can someone post these links for the benefit of our OP?

 

Thanks!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 11
(3,578 Views)

billko wrote:

Can someone post these links for the benefit of our OP?


These?

 

3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 11
(3,572 Views)

@crossrulz wrote:

billko wrote:

Can someone post these links for the benefit of our OP?


These?

 

3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products


Yep.  Those.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 11
(3,559 Views)

thank you all very much..I would like to ask just a few more questions:1)how would you pass values to and from the clone VIs seperately?2)Is there a way of having the clone VIs have different title names when you open them so as to be able to differentiate them

0 Kudos
Message 9 of 11
(3,526 Views)

sorrry i have figured out how to do both by using property node and invoke node..

0 Kudos
Message 10 of 11
(3,519 Views)