LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical Align

I found an example on the Internet about vertical alignment of the text. I tried to write code that would be more accurate for this functionality, but I'm running into math problems. I would be happy to help.

0 Kudos
Message 1 of 4
(65 Views)

A lot of people (most?) here don't have :V 2024.

Please save your VI as an earlier version.

0 Kudos
Message 2 of 4
(41 Views)

I don't understand the problem you are trying to solve.  I know that it involve "text" (so I presume that you are using String functions), but don't know what operations you are trying to do with Strings, except that in involves "Vertical Align" (whatever that is).

 

Are you trying to get LabVIEW to format a String so that it "fits nicely" into a String Indicator of a particular size?  And if so, why?  

 

Can you provide an example of the manipulation of a String that you would like LabVIEW to accomplish?

 

[You do know that LabVIEW is designed as an "Engineering Workbench" (the "EW" of "LabVIEW"), which have more to do with signals, controls of equipment, visualization of data from instruments, than with Word Processing.]

 

Bob Schor

0 Kudos
Message 3 of 4
(14 Views)

I'm looking for a property node that can perform the "Lock text in center" functionality. Using the property node called Justification I get horizontal alignment. In order to achieve vertical alignment (so that the text is somewhere in the middle of the string indicator) I need to perform certain actions.

The above code is an example I found online but it doesn't satisfy me. I'm interested in a more accurate way. So I tried (in the code below) to do something like this.

maxnoder1995_1-1730871545247.png



Finally I want to create a subVI that will perform this feature.

0 Kudos
Message 4 of 4
(3 Views)