LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display string lines in LV control and notepad.

I am embarassed I didn't know about text formating until now.

 

Nowadays, I am designing some program for other and I got to know UI is one of important thing.

For example, I need to provide them to read data (labview and saved raw data file)

I found some difficulties in formatting text between different environment.

 

For example, If I set some format in LabVIEW string control, the format was useless in notepad like in attachment.

The attachment shows an example by formatting "tab" because each column has the different meaning.

Ideally,  I need to use "space" for uniform spaced alignment among numbers.

 

02/20:06:33   010101A   P1 0.14186 0.08731   19.529 1008.101 1008.063 75.696 19.539
02/20:09:04   010102B   P3 0.22778    19.530 1008.099 1008.057 75.710 19.539
02/20:11:36   010102A   P1 0.13976    19.530 1008.095 1008.056 75.708 19.540
02/20:14:07   010102B   P3 0.22570 0.08698 0.08715 0.00023 19.530 1008.100 1008.062 75.716 19.540

 

Have you ever met such a trouble? or can you give me some idea?

At this moment, I displayed and saved the data line by line.

 

labmaster.

0 Kudos
Message 1 of 2
(2,609 Views)

Hello, as far as separating the data you may want to sue a comma as the delimiter character.

 

Per LabVIEW Help,

 

delimiter is the character or string of characters to use to separate fields in the spreadsheet file. For example, a value of , (comma) specifies a single comma as the delimiter. The default is \t, which specifies a single tab character as the delimiter.

 

As far as presenting the data, maybe you should have a custom excel report for that where you take care of the formating and presentation, or may even try TDM file formating among others. It gives you a nice user interface.

 

Hope that helps!!!

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding. Proverbs 4:7
0 Kudos
Message 2 of 2
(2,583 Views)