LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report using Binary file

Hi All , can anyone help me here ...

I used “Write to Binary” to  write my report , at first stage this file is writing headers , including column  headings . at 2nd writing stage it is writing  data in columns.  This file can be viewed in .doc or .xls format. I have three issues

1.         If I want to print this file from Front Panel  , what I should do?

2.         other thing is if I stop logging and then start for another span , it starts writing from the first line instead of from last line  , because of this problem it is causing over-writing .

3          another thing  , lets say if for 2nd or 3rd logging , I want to display sub-headings (test-1 , test-2) , how to insert , for example :

 

MAIN HEADING (COMPANY NAME , REPORT TITLE )

DATE , PRODUCT INFO , OPERATOR NAME

 

COL1              COL2              COL3              COL4

 

Subheading (test-1)

 

Value1             Value2             Value3             Valye4

Value1             Value2             Value3             Valye4

Value1             Value2             Value3             Valye4

 

Subheading (Test-2)

Value1             Value2             Value3             Valye4

Value1             Value2             Value3             Valye4

Value1             Value2             Value3             Valye4

 

Any help in this regard will be highly appreciated.

Regards

Faiyaz

 

Download All
0 Kudos
Message 1 of 2
(2,590 Views)
Hi Faiyaz,

1. How Do I Print a File Programmatically From LabVIEW?
2. Please the Programming >> File I/O >> Advanced File Functions >> Set File Position function on the block diagram after the Open/Create/Replace File function and set the from input to "end." This will append new data to the end of the file.
3. You can simply add that information to the Format into String you are writing to the second Write to Binary file.

Michael K.

| Michael K | Project Manager | LabVIEW R&D | National Instruments |

0 Kudos
Message 2 of 2
(2,565 Views)