LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

setting tabs or spacing in HTML files?

Is there a way to format text in HTML files that are output from Labview?

 

I am trying to make a report and find that setting up strings with the concatenate (even tabs and spaces) doesn't seem

to be very WYSIWYG...

 

For example, I have the following VI that I have tried with spaces and tab tokens with no success to set my text output

to a nice format. The concatenate seems to trim spaces even in the middle of the field as the following line is printed like

this:

PASS/ FAIL- -TEST NAME  where I would expect it to be more like:   PASS/ FAIL-     -TEST NAME

 

space format.JPG

I have also tried the "Set The Report tab Width" feature and this doesn't seem to set the tabs when I use the tab tokens in place of the spaces shown in my VI.

 

Any suggestions?

 

Thanks

0 Kudos
Message 1 of 4
(597 Views)

In HTML, multiple spaces is interpreted as one space.

Use   as one space character.

Message 2 of 4
(591 Views)

In HTML, multiple spaces is interpreted as one space.

Use   as one space character.

 

Thanks-

 

Is there a way to specify more than one or do I need to feed 4 of these into the concatenate to produce 4 spaces on the HTML output?

 

0 Kudos
Message 3 of 4
(585 Views)

Yes, you need to string 2 of the   together to get 4 spaces =  space +   +   + space

0 Kudos
Message 4 of 4
(581 Views)