11-03-2015 05:12 PM
I am making a camera calibration application. Want to force the numeric input to scroll between 10 different set values for the camera exposure. Under the "Data Entry" tab (properties for the numeric input) I can set a Min, Max & Increment value. If I set the Increment too big I skip a bunch of the low range values and if I set it too small I have to click the increment arrow a lot before it changes. Any suggestions on how to make it just increment between 10 different set values (like a table with the 10 values in it)?
11-03-2015 06:57 PM
What you do will likely depend a lot on how you have your application set up but would you be able to use a numeric array and auto increment through those values?
11-04-2015 06:12 AM
If this is strictly for a GUI, then I would just use a Ring.
11-04-2015 06:21 AM
Due to not using arrays like this before has me stuck! Here is what I came up with. I have the Array off to the side so it is not viewable when the program is running. Filled in the 10 values used. Set the Index input to only go between 1 and 10. It outputs the exact setting for each click.
.
11-04-2015 06:31 AM
@JohnPaulJones wrote:
Due to not using arrays like this before has me stuck! Here is what I came up with. I have the Array off to the side so it is not viewable when the program is running. Filled in the 10 values used. Set the Index input to only go between 1 and 10. It outputs the exact setting for each click.
.
If that is how you are going to do it, I stand by my suggestion of using a Ring. It would eliminate the need for that array and the Index Array and give you a nice drop down so you know what values you can select.
11-04-2015 06:33 AM - edited 11-04-2015 06:33 AM
Hi John,
I have the Array off to the side so it is not viewable when the program is running.
Hide the array - or convert it to a constant to have better, self-documenting code!
Or follow the very good advice on using a ring…