LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What Does Yellow Mean?

Depending on your labview.ini settings, this method:

yel.png
can show up as brown (meaning it's private):

brn.png

NI support tells me that it actually is private, that they've had issues with it, and we shouldn't use it.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 14
(654 Views)

What ini file setting does it depend on?

 

It's brown for me.

 

It's never a good sign if there is a WARNING in the help...

0 Kudos
Message 2 of 14
(646 Views)

wiebe@CARYA wrote:

What ini file setting does it depend on?

I think it depends on the relatively secret INI token.

Matt J | National Instruments | CLA
0 Kudos
Message 3 of 14
(579 Views)

wiebe@CARYA wrote:

What ini file setting does it depend on?

 

It's brown for me.

 

It's never a good sign if there is a WARNING in the help...


It's brown if SuperSecretPrivateSpecialStuff=True.

I've also found some other properties an methods whose color depends on that.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 14
(574 Views)

@paul_cardinale wrote:

wiebe@CARYA wrote:

What ini file setting does it depend on?

 

It's brown for me.

 

It's never a good sign if there is a WARNING in the help...


It's brown if SuperSecretPrivateSpecialStuff=True.

I've also found some other properties an methods whose color depends on that.


I have always that on.

 

I suppose all of them should be hidden if the key is false?

0 Kudos
Message 5 of 14
(564 Views)

wiebe@CARYA wrote:

I suppose all of them should be hidden if the key is false?


I supposed someone with that token could put a private method in their code and it might not be immediately obvious to someone else who was looking at that code.

 

You can also still access these properties/methods using the Ctrl+B quick drop shortcut but you have to know the full name which can make that difficult.

Matt J | National Instruments | CLA
Message 6 of 14
(560 Views)

@Jacobson wrote:

You can also still access these properties/methods using the Ctrl+B quick drop shortcut but you have to know the full name which can make that difficult.


Probably Ctrl+Shift+B? AFAIK, Ctrl+B changes class.

 

So those work even if scripting is off? That might come in handy one day... Or is it just the brown nodes?  

0 Kudos
Message 7 of 14
(550 Views)

IIRC enabling scripting just enables your ability to browse to certain classes/properties/methods and doesn't effect operation of any nodes that are already present (I also think disabling scripting might turn blue nodes to the default color).

Matt J | National Instruments | CLA
0 Kudos
Message 8 of 14
(543 Views)

wiebe@CARYA wrote:

 

So those work even if scripting is off? That might come in handy one day... Or is it just the brown nodes?  


The different enabling only affects what you can discover during edit while browsing the VI server methods and properties. Once the nodes are placed on a diagram they will work irrespective of any such ini setting, no matter if secret or not (well the scripting one was secret at some point too 😀).

Rolf Kalbermatter
Averna BV
0 Kudos
Message 9 of 14
(505 Views)

At some point I'll try how this all relates to red nodes.

0 Kudos
Message 10 of 14
(477 Views)