LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Conpane Image Method

Solved!
Go to solution

Hello

 

I need to programmatically save the VI icon with the connector pane. I found that this can be done using VI Scripting.

https://zone.ni.com/reference/en-XX/help/371361R-01/lvscript/vi_getconpaneimage

 

Now I have never used VI scripting and have no clue and no time 🙂

Has anybody an example on how to do this?

 

Thanks

0 Kudos
Message 1 of 6
(1,345 Views)
Solution
Accepted by topic author DAckermann

Go to your LabVIEW install, then open the Options window under the Tools menu.  Go to the "VI Server" category, and in it check the box to show VI scripting functions, properties, and methods.

 

Then go to the VI you want the connection pane image from, put down a "This VI" VI server reference on its block diagram.  Then wire that reference into an invoke node.  When you click on the node to select which method to invoke, select "Get Conpane Image", and go from there.

Message 2 of 6
(1,340 Views)

Wow. That was easy 🙂

 

Thanks a lot!

0 Kudos
Message 3 of 6
(1,327 Views)

You should mark Kyle's post as the solution, not your own.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 6
(1,263 Views)

Oh sorry.I was in a hurry and clicked the wrong button. Can I change this?

0 Kudos
Message 5 of 6
(1,253 Views)

Hi DAckermann,

 


@DAckermann wrote:

Oh sorry.I was in a hurry and clicked the wrong button. Can I change this?


See the message "Options": the same place where you "Accept as solution"!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(1,247 Views)