LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

textring control modification

Hello,
I want to create a control, that starts with the value of 512 (for the firt text item) an that has the value 540 for the last entry.
What is the best way to do this
0 Kudos
Message 1 of 4
(2,756 Views)
One of Many...
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 2 of 4
(2,756 Views)
May be I did not explain it to good.
I want a TextRingControl (not a VI)where the first entry has the value greater that zero.
E.g. the first entry should be "Year 2002" and the value should be 2002.
And the whole thing should be a control on the frontpanel (YearTextring.ctl).
0 Kudos
Message 3 of 4
(2,756 Views)
One easy way would be to use a numeric control with an integer representation. You could then right-click on the control and select "data range". Set the min and max values to be 512 and 540 respectively. Now the only values that can be entered into the control are integer values between that range. If a value outside that range is entered it will coerce the value to either the min or max vaules. There are other ways to do this with some of the ring controls but it cannot be done just with the control. I will attach a VI that demonstrates some of these other options.
Message 4 of 4
(2,756 Views)