LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Weird a extracted subvi

I downloaded a library (a.vi+b.vi+c.vi) for some instrument driver from ni.com.
Although one file (a.vi) of library don't include any subvi, all subvi  of library (a.vi+b.vi+c.vi) are copied when I copy the file (a.vi) to my folder.
 
I suspect there is a class relation of the library.
Although I save a subvi to the different folder, the class information is still active.
As shown in the attachment, how can I delete the class (or hierarchy) information in each subvi?
 

메시지가 09-26-2007 09:01 PM에 labmaster에 의해 편집되었음

0 Kudos
Message 1 of 8
(4,157 Views)

Your attached picture doesn't seem to describe what your problem is.

Can you describe in more detail how this image relates to your issue?  You said you downloaded the driver from ni.com.  I found a lot of links for Mettler Toledo.  Can you provide the specific link for the driver you downloaded?

 

0 Kudos
Message 2 of 8
(4,147 Views)
and also see the attachment.
This problem is related to the connection to the library.
 

메시지가 09-26-2007 09:41 PM에 labmaster에 의해 편집되었음

Message 3 of 8
(4,142 Views)
I downloaded the driver from that link and I see what you mean.
 
First, the command.vi does have a link to a sub-VI called read.vi in the private folder of that project's .lvlib library.
 
Once possibility would be to copy that code and paste it in a new bland VI.  Wire up the connector pane in the same way as the original command.vi.  Now it has the Read.vi sub-VI.  It will still link to the one in the library, so you will need to copy it's code and paste it to a new blank VI.  Do the same to create the connector pane and wire it up like the original Read.VI.
 
For one VI and one sub-VI, this doesn't seem like to much of a problem.  For more complicated project with something more deeply embedded, I don't think I would want to go that route.  And I haven't worked with the project structure in LV 8.0 and above enough to know how to undo a complicated project structure.
 
To change the way the window appears at run-time, go into File/VI properties/Window Appearance.  Uncheck Same as VI name and call the window whatever you want.
 
Perhaps that is the answer you are looking for.  If not, describe what you are trying to do in more detail.  Why are you copying the VI?  What is the issue with having the .lvlib show up in the title bar?

Message Edited by Ravens Fan on 09-26-2007 11:13 PM

0 Kudos
Message 4 of 8
(4,129 Views)
Thanks for your consideration.
 
My quesiton is to use a SubVI without copy and paste in a new VI. (As you mentioned, it will be a complicate process, case by case.)
I want to use it as-is. How to disconnect the property of the library, in principle?
 
However, I believe you cannot change the "[...]" part in the title bar if the connection is active.

메시지가 09-26-2007 11:11 PM에 labmaster에 의해 편집되었음

0 Kudos
Message 5 of 8
(4,126 Views)
What I showed above with the dialog box can only be done while you are in edit mode.  However, there is probably a way using a property node of that VI to change the test in the title bar while running.  But why are you concerned about changing that while "the connection is active".  I thought the nature of your question concerned getting rid of that title while you are making copies of VI's and in edit mode?  Also, why do you want to change it?  I ask because if we understood what your actual issues are, someone may be able to consider a completely different way to solve your problem.  Smiley Wink
0 Kudos
Message 6 of 8
(4,100 Views)
Sorry for your misunderstanding for my question.
After downloading the library from the link, I found a useful SubVI from the library.
Next, I saved the single file but the whole SubVI files were saved due to the library connection property.
 
My original question is how to deactivate the connection property.
 
0 Kudos
Message 7 of 8
(4,071 Views)
Take a look at this link.  It talks about a file menu option called Disconnect From Library.
 
0 Kudos
Message 8 of 8
(4,050 Views)