03-15-2006 05:36 PM
03-15-2006 06:15 PM
More information:
There are two controls in this system that relate to each other.
One control is used to select a cart number (this control has a range from 1-6)
The other control (the one that is failing) selects the slot on the cart (each cart has 16 slots).
When the cart number changes, the slot number control is changed to match the slots associated with the cart.
When the cart number increments (e.g. 2-3), the slot control allows the decrement to go below the property minimum (down to 32 instead of 33).
When the cart number decrements (e.g 4-3), the slot control does not allow the decrement to go below the property minimum (limits to 33).
The same code is used to calculate slot min/max regardless of whether the control increments or decrements. All that is determined is a change in cart value.
Once again, all ideas are appreciated.
03-15-2006 09:32 PM
03-16-2006 10:35 AM
That's not the problem.
The control is allowing the user to enter a value lower than the minimum.
I changed the min/max programmatically, but after they are changed, the front panel control allows a value lower than the minimum.
03-17-2006 11:32 AM
This is definitely a bug in the LabView compiler.
I can put a probe on my write to the minimum property node and see that I am writing a 17.
When I read the minimum property node, it displays a 16.
03-17-2006 11:33 AM
Before definitively attributing this behavior to a "bug in the LabVIEW compiler", could you perhaps attach a simple VI demonstrating the problem so we can take a look?
-D
03-17-2006 11:35 AM
At the moment, I don't have the time to convert this to a simple VI, I will try to simplify it later.
I can post my whole project (including text files that are read in).
03-17-2006 11:49 AM
Ok, in the interest of proving my point, I made a single VI, along with a Custom Control, that I can upload.
At the moment, I am trying to figure out how to upload.
03-17-2006 11:54 AM - edited 03-17-2006 11:54 AM
Message Edited by jspaarg on 03-17-2006 11:55 AM
03-17-2006 12:01 PM