LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 8.1 UIR editor: Default value is out of range

Is this known?

Open the CVI 8.1 UIR editor and...

1) Create a numeric control and edit it
2) Set range checking to "coerce"
3) Set minimum to something greater then 0 or maximum to a value lesser than 0
4) Click OK
5) "Default value is out of range"

2 and 3 can be swapped with same result.

This is not happening in 8.01.
-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 1 of 3
(3,113 Views)

Presumably it all works OK if you first set the "Default Value" field correctly? (ie to a value not outside your desired limits.)

JR

0 Kudos
Message 2 of 3
(3,107 Views)
This is definitely a bug in 8.1. Presumably the default value (and the value in the Quick Edit window) is already set correctly, after you change the minimum or the maximum. Yet, when you click 'OK' the error message implies that the default value is still the old value.

The bug will be fixed in an upcoming maintenance release. In the meanwhile, as a workaround, after changing the minimum or the maximum, you can re-enter the default value in the Quick Edit window, or in the Default Value control, even if you set it to the same value that is already there.

Thanks for reporting this.

Luis
Message 3 of 3
(3,096 Views)