From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-01-2010 02:56 PM
I have searched the LabVIEW forum for this issue, but no answer to my specific problem.
I have a numeric control, and I set the minimum, maximum, and increment values using property node.
Now, is it possible for the user not to be able to type in something illegal.
For example:
min = 0
increment = 4:
max = 72:
the user can still type in 3 in the control, and click okay. However, I will like a situation wherby, if he types in a 3, a 4 will automatically be shown.
In a nushell , no invalid inputs will be allowed.
09-01-2010 03:00 PM
the out of range action lets you select "coerce'.
I think that an event will return the out-of range value if you have an event configured for the control.
Ben
09-01-2010 03:03 PM
You also have to set the respond to out of limit property. 1 has it increment to nerest. You can search the help on other settings.
09-01-2010 03:05 PM
Can't you just set this by right click the control and go to properties and the data entry tab?
09-01-2010 03:08 PM
@GovBob wrote:
Can't you just set this by right click the control and go to properties and the data entry tab?
Yes.
09-01-2010 03:10 PM - edited 09-01-2010 03:11 PM
Edit: Smoked.
09-01-2010 03:16 PM
That is ok I will still give you a kudo.