LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unicode in Ring Control: bug?

For completeness here's a version which substitutes space (U+0020) with a 3 em space (U+2004), and only converts a supported character ranges to full width.

 

unicode-ring-with-space.png

 

Dataflow_G_1-1694052596392.png

 

Not all full width characters seem to be supported in the drop down (the ), * and - characters are replaced with @ symbols), but they're correctly rendered once selected.

 

 

Message 11 of 18
(905 Views)

Thanks, that is a nice workaround. I like how you take care of the spaces 😉

0 Kudos
Message 12 of 18
(877 Views)

Do we all agree that it is just this property node 'RingText.InterpAsUnicode' that erroneously interprets each \00 as an end of item to display in the Ring?
Is there a way to edit the code inside this Property Node to replace \00 by \n (LF) or \r (CR) that would maybe make more sense?

0 Kudos
Message 13 of 18
(604 Views)

@Christ0phe wrote:

Do we all agree that it is just this property node 'RingText.InterpAsUnicode' that erroneously interprets each \00 as an end of item to display in the Ring?


No.  The "InterpAsUnicode" property is a text attribute, (like font size or color).  It is not interpreting the string.  The interpretation of the string is being done by the code that runs Ring controls.

 

Is there a way to edit the code inside this Property Node to replace \00 by \n (LF) or \r (CR) that would maybe make more sense?


 No.  You cannot edit code inside any of LabVIEW's built-in functions.

0 Kudos
Message 14 of 18
(587 Views)

@paul_a_cardinale wrote:

@Christ0phe wrote:

Do we all agree that it is just this property node 'RingText.InterpAsUnicode' that erroneously interprets each \00 as an end of item to display in the Ring?


No.  The "InterpAsUnicode" property is a text attribute, (like font size or color).  It is not interpreting the string.  The interpretation of the string is being done by the code that runs Ring controls.

 

Is there a way to edit the code inside this Property Node to replace \00 by \n (LF) or \r (CR) that would maybe make more sense?


 No.  You cannot edit code inside any of LabVIEW's built-in functions.


I forget when official Unicode support is, but maybe they'll start taking a serious look into this then.  But it won't be an official bug until Unicode support becomes official.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 15 of 18
(577 Views)

@billko wrote:

I forget when official Unicode support is, 


I haven't seen any official commitment..

 

I've heard work has been done in LV23, actually breaking workarounds that do work...

0 Kudos
Message 16 of 18
(562 Views)

Unfortunately, I can't use RINGS, so I've fallen back on Listboxes, as illustrated by the appended images. The Listbox appears through a 'mouse click' event trigger. The Listbox appears in the foreground, but if there is a graph behind it and it refreshes, the graph moves in front of the Listbox!

0 Kudos
Message 17 of 18
(557 Views)

I've seen that bug recently on the forum. Against all odds, I actually found it: Solved: UI bugs(?) when Tab control partially covers other controls and indicators - NI Community

 

I think the 'solution' was to put an additional picture control between the listbox and the graph.

 

I'd toy with synchronous display on each and every control first though. Maybe transparency of the graphs and subpanel too.

0 Kudos
Message 18 of 18
(550 Views)