LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clone?

Solved!
Go to solution

I am looking over my co-workers code, and a lot of the vi are opened as a clone.  I have the following questions.

 

1. What is the purpose of making a vi into a clone?

2. How do you make something into a clone?

3. How do you get something out of clone?

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 5
(4,249 Views)

@jyang72211 wrote:

I am looking over my co-workers code, and a lot of the vi are opened as a clone.  I have the following questions.

 

1. What is the purpose of making a vi into a clone?

2. How do you make something into a clone?

3. How do you get something out of clone?

 

Yik


1) So the code can be in more than one place at the same time.

 

2) A re-entrant VI opened with the "08" switch to load a new instance and creat the clone.

 

3) Depends on the clone.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(4,247 Views)

Look up "Reentrant execution"

Omar
0 Kudos
Message 3 of 5
(4,239 Views)
Solution
Accepted by topic author jyang72211

Clones allow debugging and probing of reentrant VIs, something that was not possible many version ago.

 

A clone represents a local instance of a reentrant subVI and is always in run mode. Showing a clone makes mostly sense during debugging. To edit the subVI, you need to switch to edit mode and changes will then apply to all clones.

 

You don't "make a VI into a clone", this is just a temporary state while debugging reentrant VIs.

 

A detailed description can be found in the following document:

 

Why Does my SubVI Have the Title subvi.v:i#(clone)?

Message 4 of 5
(4,232 Views)

Thanks.  I knew what a re-entrant vi is, but I never connected the dot between that and clone. 

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 5 of 5
(4,180 Views)