NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
gsussman

Automatically show descriptor or radix for non normal display constants

Status: New
by Member gsussman on ‎01-31-2011 09:19 AM

In LV 2010 the string constant display style is a nice new addition based on the ideas here and here.

The implementation is consistent with how the radix indicator works on numeric constants in that you must navigate to the visible items shortcut menu and turn them on discretely.

If I want to take a string constant, show it in '\' format and turn on the descriptor, it requires two separate operations.

 

I propose that the descriptor (or radix for numeric constants) be automatically shown when displaying any mode other than the default.

 

String formatting.PNG

Not only would this add to the readability of these constants but would eliminate the extra step to have to discretely show this valuable piece of self documentation.

If the developer did not want the descriptor shown, they they could manually turn it off.

Comments
by Trusted Enthusiast on ‎01-31-2011 01:33 PM

Good idea.

by Knight of NI on ‎02-01-2011 01:53 PM

This can probably be taken a step further - just display the glyph for constants all the time. Normal display has no glyph and all others have their glyph.

 

That would make it one less thing for the user to worry about and it give people's code a uniform and predictable look.

by Trusted Enthusiast on ‎02-01-2011 02:04 PM

Tst: Better idea. :-)

by Trusted Enthusiast on ‎02-01-2011 02:05 PM

+1 for showing all the time and no configuration.

by Member gsussman on ‎02-01-2011 02:15 PM

That works for me.

 

I like the idea of no glyph for normal display on strings and decimal display on numerics.

by Active Participant wired on ‎03-23-2011 07:28 AM

I also vote for displaying the glyph on any string type, and allowing the user to turn it off.  I didn't even know this feature existed until I read about altenbach's completed idea in this forum.  My strings weren't displaying the glyph, so I went to the Tools->Options menu to see if it needed to be enabled. Nothing there, so then I did the right-click and highlighted Visible Items.

 

I don't see a downside to defaulting this on - the amount of diagram space saved by having it off is miniscule. Kudos.

by Member rpodsim on ‎07-26-2012 11:05 AM
I like the idea of always displaying Radix for constants. Though I would go one step further and include an option to toggle the always display. I would also add the that option for front panel controls/indicator also. I use a lot of Hex displays and would find that option a serious time saver.
Latest LabVIEW Idea Exchange Blog Posts
About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Idea Statuses
Top Kudoed Authors
User Kudos Count
130
81
68
64
56
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page