LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
moderator1983

Rename 'Disabled and Grayed Out' item to simply 'Grayed Out'

Status: Declined
This idea would introduce a breaking change into existing VIs that generally could not be compensated for by mutation.

Title says it all.

 

Rename the Enum

 


I am not allergic to Kudos, in fact I love Kudos.

LabVIEW_Certified_Developer.jpg

 Make your LabVIEW experience more CONVENIENT.



I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


12 Comments
altenbach
Knight of NI

What if we want to add a new option in the future, such as "enabled and grayed out"? 😮

moderator1983
Active Participant

@altenbach wrote:
What if we want to add a new option in the future, such as "enabled and grayed out"? :smileysurprised:

I already waited for almost 8 years now, for that thing ("enabled and grayed out") to happen... but now lost all hopes Smiley Wink


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Darin.K
Trusted Enthusiast
moderator1983
Active Participant

The intention here is to save block diagram space... I found another post (on same line but not similar).


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


AristosQueue (NI)
NI Employee (retired)

This would be such a substantial break in compatibility I cannot imagine us ever making this change without an accompanying complete UI overhaul. I've seen those enum strings in configuration files for setting up user interfaces. If we broke compatibility there, I know many large systems that would break.

 

I admit it would be nicer if the size were smaller, but I can't see it happening. If you do not like the size of the enum, you can create an inlined subVI of the constant and use that.

AristosQueue (NI)
NI Employee (retired)

Minor correction: I cannot see it happening through changing the string. Some other feature to change how the enum is displayed (perhaps let it be resized manually?) might be feasible.

JB
Trusted Enthusiast
Trusted Enthusiast
AristosQueue a écrit :

I admit it would be nicer if the size were smaller, but I can't see it happening. If you do not like the size of the enum, you can create an inlined subVI of the constant and use that.

In previous LV versions, this property was set by the 0, 1 and 2 numeric constants. Small but not self documenting.
MartinMcD
Member

How about changing the default string to use an ampersand and losing the word 'Out' to save some space whilst keeping the meaning.

 

Capture.PNG

Intaris
Proven Zealot

AQ just said that the string will not be changed.  This is because casting an enum to string with the operator %s will output the visible string for that value of an enum.  The reverse also works when reading so if you change the string visible, any code which loads and saves a setting as string to file (which is cool, I do it myself all the time) will break.

PaulG.
Active Participant

What Q said. I revoke my kudo. 

PaulG.

LabVIEW versions 5.0 - 2023

“All programmers are optimists”
― Frederick P. Brooks Jr.