FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you control data entry on a sub-vi screen?

I am testing a robot program and I want to be able to change some variables on-the-fly.

The data I want to change is in a 2D array.

I have been able to create the array and have it come up with initial values.

The array elements have the up/down arrows and they will change the values by units of 1

However, I cannot figure out how to do the following:

I want to be able to increment by smaller units.

I also want to be able to key in the value instead of using the arrows.

The example program for following a color allows manual entry of values so it looks like it can be done.

I could not find any "settings" to the variable that would allow me to do the above mentioned things.

Can someone assist me?

Thanks.

0 Kudos
Message 1 of 2
(6,494 Views)

On the front panel, if you've made it into a contorl, you can right click on the control, and go to the data entry tab and change things like the min and max values and the increment. In other tabs you can change all kinds of other things too.

0 Kudos
Message 2 of 2
(2,358 Views)