LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.net Listview control returning wrong label value

Highlighted

Hi,
I am using .net control ListView in my LabVIEW application and having trouble
reading the label infromation from the listview control.
I have a callback event on the listview control - AfterLabelEdit - and when
this event occurs I read the label value and display it on a single button
dialog box. but the label value returned has only question marks "?"

I am not sure if this is related to some unicode to ascii conversion issue.

I have attached my vi that demonstrates the issue.

Thanks,
Ritesh

0 Kudos
Message 1 of 2
(1,215 Views)
Highlighted

Ritesh,

 

I ran the code and was able to reproduce what you mentioned. I think you're right that it could be related to a unicode to ascii conversion. You can enable Unicode support by including the UseUnicode=True token in the LabVIEW ini file. I recommend reading through this page to get an idea of what additional steps you'll have to do beyond that in order to read the Unicode text.

0 Kudos
Message 2 of 2
(1,159 Views)