10-17-2013 02:42 AM - edited 10-17-2013 02:43 AM
10-17-2013 03:08 AM
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.
10-17-2013 03:28 AM - edited 10-17-2013 03:28 AM
10-17-2013 05:10 AM
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.
10-17-2013 05:32 AM - edited 10-17-2013 05:32 AM
10-17-2013 05:55 AM
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.
10-17-2013 06:05 AM - edited 10-17-2013 06:06 AM
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:
(Use properties Text.Selection and Text.Fontname!)
10-17-2013 07:37 AM
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!
10-17-2013 07:43 AM
10-17-2013 08:03 AM
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.