LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

numeric indicators in a vertical configuration

I have a bunch of numeric readings that I want to display next to each other across the screen; is it possible to get the numeric indicator to display vertically, like this:

|1|1|1|
|2|2|2|
|3|3|3|

instead of the normal way:
|123|123|123|

?

0 Kudos
Message 1 of 6
(3,404 Views)
Hi,
 
i could think of something like this.
 
It involves converting to numeric to string and then squeezing the string indicator horizontally and  stretching it vertically.
 
It may not look very convincing, but does the job for you 😉
 
ps: If there is a better way to do it, i would really like to know.
 
Regards
 
Dev
 
 
 
Message 2 of 6
(3,390 Views)
Hello holomorph,

it seems formatting to text is the easiest way.

There's the possibility to have vertically aligned text labels on the front panel, but I did not find a method to change the text in runtime of those labels. Maybe someone else knows about a property to do so?




Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(3,381 Views)
A bit convoluted but:-
Create 'numeric dial', hide label and select 'blank' scale. Format and precision 'select' use text labels as markers, representation to U32, change Labels min-max to 0-1.
Change to indicator, create a property node, write, TextLabels.
Create a loop with 9999 count, place decimal to string function inside loop and wire via indexing to property node. Wire loop index to number of function. Run vi this loads text labels up to a value of 9999.
Delete the loop and property node then create a numeric control wired to your indicator, run a four figure value into your indicator.
Resize text indicator to required size and place close to dial. Resize dial to a smaller size.
Select 'paint brush' tool and color dial, bezel and needle to transparent.
Copy and paste dial to required application.
 
P.S. this is a slow day
0 Kudos
Message 4 of 6
(3,359 Views)
additional attachments, ah! thats how they work
Download All
0 Kudos
Message 5 of 6
(3,358 Views)
If you wanted your numbers sideways have a look at this method. It uses text indicators set to transparent with the caption set to the required number.
0 Kudos
Message 6 of 6
(3,338 Views)