03-01-2009 06:24 AM
This is in LabVIEW 8.6.
03-01-2009 08:10 AM - edited 03-01-2009 08:11 AM
I think the problem may be that it wants the values entered in a specific format. For instance, if I enter "03:08" for Maximum, it accepts it just fine. If I enter "999999" it won't. This sort of makes sense given the format.
Note: I tried this on LabVIEW 8.2. Have to get my 8.6 back up and running again before retesting in that.
03-01-2009 08:23 AM
03-01-2009 01:51 PM
03-02-2009 01:39 AM
03-02-2009 03:25 PM
I think you're right. I think I mis-read Smercurio's post that he was confirming that same behavior existed in 8.2.
03-03-2009 11:14 AM - edited 03-03-2009 11:20 AM
I spent some time playing around with this in 8.6.1, and at this time do not consider it a bug - unless there is something I completely missed.
When you set to relative time, the inputs for data entry are expecting HH:MM or HH:MM:SS, depending on which display setting you chose. Typing a '7' is undefined - does the user mean hours? Minutes? Seconds? Parsecs ?
Once we type in a value that matches the format and we get the display to change, it is true that from now on if we type '7' in the field, it will automatically coerce it to 7:00, if we type 36 it coerces to 36:00. If we type 7.5, it does not change the value at all. I think at this point, the user knows what is going on, so this behavior is acceptable. After accepting the changes and re-opening the properties window, the limits are persistent.
I was not able to reproduce typing a '7' in the limit, having it automatically coerce back to '-inf', then going to a different tab or clicking ok, and coming back and seeing it as 7:00. It was still '-inf'. If you have some more details on this, maybe I can reproduce it, but from everything I tried, users are be able to enter values and these values are saved.
03-03-2009 12:18 PM
The correct behavior should be for LV to change the formatting of the field when the format is changed.
Try this:
1. Drop the control.
2. Change it to U32 from the right click menu.
3. Open the Display Format dialog and change to relative time.
4. Go to the Data Entry page and uncheck the Use Default Limits checkbox.
In 8.6 this causes the limits to change their format automatically, as they should. This doesn't happen, however, if the numeric is a DBL.
I'm not sure how I got the format to change after changing pages, as that was when I first ran into this and I wasn't keeping notes. I didn't manage to recreate this.
03-03-2009 12:59 PM
tst,
I went back into LV to do some more testing of this, and ran into this: http://digital.ni.com/public.nsf/allkb/765EBEBE6568CB098625756700718B66?OpenDocument (All zeroes on the inputs since I deleted my original control...I am using 8.6.1)
I am tempted to grab an 8.6 image and try and replicate this since it seems interesting, but based on the problems already catalogued for the data entry tab, I would say that R&D is well aware of the problems and will get it working for us in a future release. I will be involved in the LV2009 beta testing, so I will be sure to check this out for us. I'll keep you posted if I find something, but this other known issue with 8.6.1 is making it very difficult to do any testing.
03-03-2009 01:27 PM
As I already said, this seems unrelated, as the KB article describes a new problem and this one has been around since at least 8.2. Unless the developers are told about it, they might not fix it and will definitely not check to see if it's fixed.
It is possible that this is already resolved in either 8.6.1 or the beta, but I can't tell since I don't have either of them currently installed.