09-28-2010 04:09 PM
The normally reliable Combo Box is giving me some grief today.
1) Why is it again that duplicate values are not allowed? A bit of a peeve since sometimes I like to map multiple strings to one value, and I don't really see an issue. Ran into this a long time ago, hoped it had changed by LV10, but no.
2) It seems that we are still allowed to enter duplicate strings programmatically, but not via the editor. Known issue, but still hanging around in LV10.
3) Bug? LV10 crashes hard when I try to replace a System Combo Box with values added by a Modern Combo Box or vice versa. Empty works fine, as soon as I add values, good night.
09-28-2010 05:25 PM
To 1) -> that's working against the auto-complete function, I guess.
Good night as well.
Felix
09-28-2010 05:41 PM - edited 09-28-2010 05:42 PM
@f. Schubert wrote:
To 1) -> that's working against the auto-complete function, I guess.
The auto-complete function works on the Items, and ironically you can programmatically add duplicate Items. If you do, the returned value appears to always correspond to the first of the duplicates, regardless of which item you select via the pull-down menu. I assume the backdoor for duplicate Items was opened to allow multiple separators.
Thanks for verifying the crash, hope you saved your work....
09-28-2010 05:49 PM
Didn't test that crash. 'Good night' was written when looking at the clock, I'm much over the time...
Felix
09-28-2010 05:56 PM
I see, it has crashed two different machines for me now. The crashing doesn't really bother me since I am replacing these things about once every few years, I only noticed it when checking for differences in behaviour between System and Modern Combo Boxes.
Guten Abend.
09-29-2010 10:02 PM
Darin,
Just to confirm the 'Good Night' behavior you are seeing Right-Click Replace Modern combo with System? Or System to Modern?
In replacing a populated Modern with a System, all my values were stripped save the current active value. In all cases, not expected behavior. I would like to forward the appropriate CAR information. I simply want to confirm the operation with you.
Thank You,
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments
09-29-2010 10:10 PM
When I create a system combo box, add a couple of items (uncheck values match items), then try to replace with modern combo box, I get a hard crash. On Windows XP it just shuts down. On Windows 7 I get some strange dialog box that says LabVIEW.exe - No Disk, when I press continue or cancel LV shuts down.
10-19-2010 08:04 AM
@Darin.K wrote:
[...]
3) Bug? LV10 crashes hard when I try to replace a System Combo Box with values added by a Modern Combo Box or vice versa. Empty works fine, as soon as I add values, good night.
Confirmed. CAR?
10-20-2010 05:14 PM
Hello,
I can't seem to replicate in 2010. I have posted a video capture of the procedure I am going through. Please let me know if I am not correctly demonstrating the process you have described:
Please let me know how to modify the procedure to reproduce this issue.
Thank You,
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments
10-20-2010 05:43 PM
EDIT:
I forgot to un-check the 'Values Match Items' box. Once I did that, replacing a System Combo Box with a Modern crashed LabVIEW. It generated a CPP error log that I have attached to the following CAR #255066. If LabVIEW generates a log file on your systems, can you please attach it to this thread?
Also, I was able to reproduce the crash only once. It crashed on my first attempt. Every following iteration, the control is replaced successfully.
Thank you for your time.
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments