LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get VI Icon + description (as in help)

Solved!
Go to solution

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. 

 

20363i4445CC7E68114F6F

 


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...

0 Kudos
Message 1 of 11
(6,915 Views)

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.

 

 

 

0 Kudos
Message 2 of 11
(6,902 Views)

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.

0 Kudos
Message 3 of 11
(6,894 Views)

Why do you need it programmatically?  Select Multiple VIs on the first dialog, then "select all" and get them all in one go.

0 Kudos
Message 4 of 11
(6,884 Views)

Because I want it?

Message 5 of 11
(6,872 Views)
Solution
Accepted by WG-

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.

0 Kudos
Message 6 of 11
(6,861 Views)

 


@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.

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 7 of 11
(6,835 Views)

I will try monday currently I've some other things on my mind, thanks for the tip.

0 Kudos
Message 8 of 11
(6,827 Views)

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

Don't forget to give Kudo's for a good answer !

LabVIEW Champion
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 9 of 11
(6,452 Views)

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,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 10 of 11
(6,435 Views)