LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

square root symbol in front panel

Solved!
Go to solution

Hi pcs,

 

the Windows tool CharacterMap shows you all chars and their codings!

Doh…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 26
(2,555 Views)

Hi GerdW,

 

I had tried that too. but the multiple font problem persists. in Application font it converts to the 'O' with two dots over it. unless i find a way to have two fonts coexist within the same string, i dont think its gonna work!

 

Thanks.

0 Kudos
Message 12 of 26
(2,546 Views)

Hi pcs,

 

what's the problem to show two strings next to each other as mentioned (and demonstrated) before?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 26
(2,539 Views)

what's the problem to show two strings next to each other as mentioned (and demonstrated) before?


Dear GerdW,

 

I am sorry, but which one are you referring to? 

 

Just to clarify my issue, I ve got the front panel display of the label/caption fixed. Now I need the sqrt symbol inside the box. It should be programmatically written. So if I initialise the string constant as sqrt(3)  , it gets converted to Ö3. (Ö is the application font equivt of sqrt ).Pls see the pictures of sqrtinit and sqrt_revert situations i ve posted. (I tried to paste the root symbol where you see the 'sqrt' text and it reverted to Ö ).

 

Thanks.

0 Kudos
Message 14 of 26
(2,524 Views)

Hi pcs,

 


It should be programmatically written.


You didn't say so before...

 

Nevertheless: set the font to Symbol and write "Ö3" into the string indicator:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 26
(2,518 Views)

Dear GerdW,

 

Could you write 1.2Um/sqrt(3) ? what I understood is that fonts for all the characters in a text box has to be same. there can not be multiple fonts. could it be so? if yes, i m doomed!

 

pls take a look at the snap. 

0 Kudos
Message 16 of 26
(2,516 Views)
Solution
Accepted by pcs82

Hi pcs,

 

the picture in your first post does show only the label of some indicators to have sqrt in their text. You should have mentioned earlier that you wanted to write into the string indicators on the left side of that picture!

 

Set the font for the needed chars:

check.png

(Use properties Text.Selection and Text.Fontname!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 26
(2,512 Views)

Hello Gerd,

 

I succeeded in setting the properties of the display string, but when I assemble individual strings to a 1D array of clusters (which is the format in which I need them to be displayed,) it seems to lose the property. attaching the vi. I tried to see if there are any options for property control of individual elements of the array. Couldnt find anything.

 

Could you pls look in the vi?

 

Thanks!

0 Kudos
Message 18 of 26
(2,490 Views)

Hi pcs,

 

in an array all elements share the same properties, they only differ in value!

 

Use a cluster instead - just to present a nice UI to the user...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 19 of 26
(2,483 Views)

Hi pcs82,

 

As  GerdW said cluster are better options than arrays, below i am attaching a vi in which i have modified your code with clusters hope it works.

Message 20 of 26
(2,474 Views)