G#

cancel
Showing results for 
Search instead for 
Did you mean: 

does G# resize the connector pane ?

LV 2011

I am not sure when I recognized that my default connector pane is no longer 4x4x4.

I noticed although that the G# methods generally use a higher count of connectors and wondered if this is really necessary.

Then I saw that collapsing code to a sub VI also sets the the new pane to 6x6x6.

This is VERY inconvenient especially now tha NI has decided to stick to 4x4x4.

I found by now where in LabVIEW.ini I can reset that default but as soon as restarting LV it is back to 6x6x6.

So I wonder who the culprit is ?

Regards

Gabi

7.1 -- 2013
CLA
0 Kudos
Message 1 of 2
(4,568 Views)

Hi,

Yes, G# actually does this. Default is 6x4x4x6, but you can change this is Tools->G# IDE->Options... and then use the standard 4x2x2x4 pattern. All generated G# methods will have this pattern as selected. We did change this in G# Framework 1.4.0.

The reason is the new improved "Create Sub VI" feature in LV2011 that G# "hooks" into when creating a subVI will be created with the default connector pane pattern i LabVIEW. In order to get this feature correct in G#, we did set the default pattern in LabVIEW to the same settings as in "Tools"->"G#IDE"->"Options", else the new hook for "create sub VI" wouldn't work as expected. I did have some discussion with NI regarding this, but this is the way it works now. If you set the G# options to 4x2x2x4, it will be back to 4x2x2x4 as default settings.

/Mattias

0 Kudos
Message 2 of 2
(3,265 Views)