NI Home > Community > NI Discussion Forums
Announcements
We've turned on a search before post feature in the LabVIEW Idea Exchange. This new feature will help cut down on the number of duplicate ideas in this space!

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!
dansch

Show radix on index display of arrays

Status: New
by Active Participant dansch on ‎03-01-2012 02:37 PM

It would be nice to have the option for showing the radix on the index display of an array. This would make it easier to look at an array when dealing with addresses in hex.

 

For example, if you have a large array representing the contents of a flash, and want to look at specific addresses, you need to convert the hex address into decimal to be able look at the corresponding value in the array. This can get tedious and time consuming (although I will admit it does force one to learn how to make the conversions a little more quickly in your head... as long as you are not making mistakes!)

 

index display.png >>>>> index display new.png

Comments
by Trusted Enthusiast on ‎03-02-2012 12:54 PM

Ok this is freaky.

 

I came here just now to see if this idea was proposed and kudos it if it was. If not I was going to propose it. What's the first thing I see on this page before doing a search? Here is a totally different but related idea. Constants should indicate the radix. If you kudos this be sure to consider that one out.

 

by Knight of NI on ‎03-03-2012 11:06 AM

Note that while you can't display the radix today, you can change it:

 

  1. Customize the array control.
  2. Click the wrench in the control editor.
  3. Right click the index display and select "properties" (or whatever it is, I'm not in front of LV).
  4. In the formatting page, change the format to hex in the list on the left side.
  5. Apply the changes to the original control.
by Trusted Enthusiast on ‎03-05-2012 07:50 AM

Awesome tst. I didn't know you could do that. Virtual kudos to you!

by Active Participant dansch on ‎03-05-2012 10:23 AM

Thanks for pointing that out, tst. For now, while debugging, I have a subVI that I can quickly run whenever I want to change my index display to a new hex value. It is just a control formatted for hex that connects to the Index Values property node of the array (through a build array). However, it would be nice to be able to do this outside of run-time, and without having to create a custom control (though creating the control definitely seems to be the quickest/easiest way to do this presently).

by Active Participant Silver_Shaper on ‎03-15-2012 10:08 AM

Hi tst, Get my kudo's also ..

by Knight of NI on ‎03-15-2012 04:08 PM

Then click the Kudo button!

by Member cyro on ‎07-19-2012 07:26 AM
btw. you can fully customize the "Index Control" of an array: 1. Place array on FP 2. Place eg "System Vertical Slider" on FP and cut to clipboard 3. Open Customize Array Panel 4. Switch to "Customize Mode" 5. Select the "Index Control" and paste 6. Apply changes and have fun You can now use "Propertie Nodes" on that control within some limits... This is possible on even more Control eg Graphs with their Plot Arrays where you can build your own cluster and replace the Plot Array Cluster
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
241
58
53
50
37