cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Combo Box Issues + Bug

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.

Mensaje 1 de 10
4.297 Vistas

To 1) -> that's working against the auto-complete function, I guess.

 

Good night as well.

 

Felix

Mensaje 2 de 10
4.282 Vistas

 


@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....

0 kudos
Mensaje 3 de 10
4.274 Vistas

Didn't test that crash. 'Good night' was written when looking at the clock, I'm much over the time...

 

Felix

0 kudos
Mensaje 4 de 10
4.268 Vistas

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.

0 kudos
Mensaje 5 de 10
4.261 Vistas

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

0 kudos
Mensaje 6 de 10
4.210 Vistas

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.

0 kudos
Mensaje 7 de 10
4.205 Vistas

@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?

Richard






0 kudos
Mensaje 8 de 10
4.129 Vistas

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:

 

http://www.screencast.com/users/NIVideoTutorials/folders/Jing/media/621f57d0-0713-47f4-ab7e-1c57f7cc...

 

Please let me know how to modify the procedure to reproduce this issue.

 

Thank You, 

 

Patrick Corcoran
Application Engineering Specialist | Control
National Instruments

0 kudos
Mensaje 9 de 10
4.090 Vistas

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

0 kudos
Mensaje 10 de 10
4.082 Vistas