03-15-2009 07:09 PM
When I set the minimum & maximum properties on one numeric control, I noticed that all my numeric controls now have the same value settings. This happens even if I add a new numeric control to the VI. Is this normal behavior for Labview 8.6.1? How do I have numeric controls with different limit settings from each other?
Thanks,
Ron
03-15-2009 07:17 PM - edited 03-15-2009 07:22 PM
CAR# 147435 was created for this issue. Thanks again for posting your findings, all of your contributions help.
Will S.
National Instruments
Applications Engineer
PS - or here.
PPS - first!
03-15-2009 07:17 PM
There is a recently discovered bug in LV 8.6.1 about this. See here.
The controls can have different limits, but there is a bug in the dialog box that makes it look like they are all the same.
05-13-2009 01:05 PM
Ravens Fan wrote:There is a recently discovered bug in LV 8.6.1 about this. See here.
The controls can have different limits, but there is a bug in the dialog box that makes it look like they are all the same.
That's not true on my install of 8.6.1. The limits set in one numeric control coerce the others. When I set the maximum on one front panel numeric control to 5, the other (that I have previoiusly set to 65535), cannot be incremented past 5.
05-13-2009 02:41 PM
JerryR wrote:That's not true on my install of 8.6.1. The limits set in one numeric control coerce the others. When I set the maximum on one front panel numeric control to 5, the other (that I have previoiusly set to 65535), cannot be incremented past 5.
Are you sure? Check the limits on the controls by sending the data range max and min property nodes to indicators. That will tell you what the min and max range truly is on that control. If you still feel that is not the case, then please post your VI that you are using to demonstrate this.
By the way, this appears to have been fixed with 8.6.1f1. See here. http://digital.ni.com/public.nsf/allkb/765EBEBE6568CB098625756700718B66
05-21-2009 09:10 AM
Ravens Fan wrote:Are you sure? Check the limits on the controls by sending the data range max and min property nodes to indicators. That will tell you what the min and max range truly is on that control. If you still feel that is not the case, then please post your VI that you are using to demonstrate this.
By the way, this appears to have been fixed with 8.6.1f1. See here. http://digital.ni.com/public.nsf/allkb/765EBEBE6568CB098625756700718B66
After some experimentation, I found that it was true for THAT install of LV. When one (U8) control maximum was changed to 0x0F, a U16 control maxed out at 0x0F. I tried the VI on another PC, and the controls work as described - each with its own limit, although the dialog boxes are faulty. After uninstalling and reinstalling LV on the first PC, it worked.
Thank you!
...jerry
05-20-2010 07:20 AM
Hi,
I've got a problem which seems to be similiar to this one using labView 2009 SP1.
The attached vi illustrates perfectly my problem. I programmatically change the limits properties but they aren't applied.
Is there a bug or is there another way to do this?
Thanks
James
05-20-2010 09:53 AM
No bug. That is normal behavior. The limit functions only apply to user entry into the control, not programmatically setting the value.
Read the detailed help for the Data Entry page on the control. (I made the important part red and bold.)
If you need to programatically set the value and also have it be coerced, then you need to pass your value through the In Range and coerce function before writing it to the value property node.
05-21-2010 01:21 AM
ok.
Its not the answer I was hoping but thanks anyway 😉