LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate PDF report with tables and array values

Hello Experts,

 

I would like to generate a PDF report after I finish running my data acquisition and analysis.

 

I tried using Report Express VI but it isn't helpful at all.

 

What I want is to have the average values of all parameters stored in different arrays to be displayed in a table in the report.

 

Example of report:

 

Header

 

Author

 

Voltage            1V

Current             2A

Temperature   30C

 

Thank you for your help ! Merci, amigo ! Smiley Embarassed

0 Kudos
Message 1 of 7
(4,549 Views)

I was not aware that LabVIEW could generate a PDF file!  You could write text to a file, formatting it as you wish, and then convert that text file to a PDF with other software.  You can also use the Report Generation tools to create a Report as an HTML or Word document (for the latter, you might need the Report Generation Toolkit) -- if you get it into Word, Word could possibly generate the PDF for you.

0 Kudos
Message 2 of 7
(4,497 Views)

Hi,

 

https://decibel.ni.com/content/docs/DOC-4552

 

Does this document helps you?

 

I think there is no direct way in labview to generate PDF but it can create pdf using opensource pdf printer.

 

I think this should solve your problem.

 

0 Kudos
Message 3 of 7
(4,479 Views)

Thank you for the input guys. I really appreciate them.

0 Kudos
Message 5 of 7
(4,436 Views)

@J-M wrote:

2, 3 and 4 (1 was deleted):

 

http://forums.ni.com/t5/LabVIEW/exporting-graphs-programmatically-to-pdf/m-p/1276154#M531872%EF%BB%B...


This was a nice reference.  I followed up and saw that the reference 1, to generating a PDF straight from Excel using the Report Generation Toolkit, is the "1 was deleted" reference.

 

I've had a little experience calling intrinsic Excel functions using ActiveX (the hooks for which are provided by the RGT).  However, this is definitely not straight-forward, all the more so because it is getting harder to get "help" for the ActiveX functions, especially with "modern" versions of Office and with Windows 7.  For myself, I've learned to do a lot of Excel "manipulations" using the tools provided in the RGT, which results in much cleaner code, easier to create, maintain, and understand six months after I write it (always a good criterion!).

0 Kudos
Message 6 of 7
(4,412 Views)

I tried and recommend Simplicity AI PDF report creator tool. You can get it through VIPM. It really works great, is easy to use and reports don't need to be tied to revision control and MS Excel or Word Objects changing calls.

0 Kudos
Message 7 of 7
(4,396 Views)