07-30-2010 03:44 PM
Hello,
I've the following question. I have the a VI called test. In the "context help" I get to see this nice picture of it allong with it's in- and outputs as well as the name of the VI.
Now what I want to know is it possible to save this image + in- and outputs programmatically in LabVIEW? In LabVIEW I only can find the "Icon:Save To File" Invoke method which saves only the VI icon but not the in- and outputs along with it...
Solved! Go to Solution.
07-30-2010 04:05 PM
It's hidden under printing, rather than saving.
Select File|Print
Select your VI or multiple VIs as required & select Next
Select VI documentation & select Next
Select the icon & connector pane. (Preview will give you a chance to play with the other things & see if you want those too)
Select Next
Select one of the file types to print to & select print.
07-30-2010 04:15 PM
Yes but isn't that the solution where I use my hands and click my mouse a couple of times?
I want this whole thing automized. So what I got now is a big folder with lots of VI's, I've all their reference's in a array only now what I need is the tool to get icon with its description.
07-30-2010 04:25 PM
Why do you need it programmatically? Select Multiple VIs on the first dialog, then "select all" and get them all in one go.
07-30-2010 04:46 PM
Because I want it?
07-30-2010
05:36 PM
- last edited on
04-26-2025
04:42 PM
by
Content Cleaner
There is a private method to get this image, so your best bet is to try the following:
1) Join the LabVIEW API group.
2) Ask kindly for this method to be exposed to the masses on the LV API discussion board. Some methods are private for very good reason, others for not-so-obvious reasons. An NI engineer will consider your request, and if reasonable post some VIs which encapsulate the method. I have seen a few happy endings this way.
07-31-2010
08:57 AM
- last edited on
04-26-2025
04:42 PM
by
Content Cleaner
@Darin.K wrote:
[...]
2) Ask kindly for this method to be exposed to the masses on the LV API discussion board. Some methods are private for very good reason, others for not-so-obvious reasons. An NI engineer will consider your request, and if reasonable post some VIs which encapsulate the method. I have seen a few happy endings this way.
He's right, you know. I just had one yesterday.
07-31-2010 11:45 AM
I will try monday currently I've some other things on my mind, thanks for the tip.
12-02-2010 03:11 AM
Hi there
Did anyone ever find a way of doing this ? (Was the private method exposed, I can't find anything on the community). I've posted another request on the LabVIEW API community discussion board in the the hope that somebody can help.
Regards
Chris
12-03-2010
02:30 AM
- last edited on
04-26-2025
04:43 PM
by
Content Cleaner
Dear Chris,
I found the Save VI ConPane Image.vi in the OpenG library (application control tools), this resulted in the attached picture,
best regards,