To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The delivery of a report often culminates the completion of a milestone or project, meaning the job is not finished until a report is completed and hand off occurs. Engineers have been successfully automating tests and processes with NI LabVIEW software for multiple decades, but few automate the reporting task. This example shows how to combine LabVIEW and DIAdem to automate the process of generating reports.
Description
This example is in response to the article "Three Steps to Save Three Weeks with LabVIEW - Automating Report Generation", first published in the Q1 2010 Edition of the Instrumentation Newsletter.
This Example will create two identical .htm reports after it runs. The two reports are created using two different methods that you could use to automate report generation.
The Script generated report will be found inside the HTML Script Folder and the Command generated report will be found in the same location of the project.
Here's a list of the example files included in this entry, along with the purpose of each. These three files must be saved in the same directory for the example to work.
Requirements
Install the software in the following order:
Steps to Implement or Execute Code
1. Download and open the project "Automated DIAdem Report Generation_LV2012_NI Verified"
2. Open the VI "LabVIEW DIAdem Report Generation(Main)"
3. Enter the report author name
4. Run the VI
5. Check the directory where the project is saved to view the report
Additional Information or References
What are LabVIEW and DIAdem? If you're unfamiliar with either of these software environments, have a look at the following resources:
LabVIEW example front panel.
LabVIEW example block diagram (Data Generation)
LabVIEW example block diagram (Report Generation)
Diadem Report Example
The DIAdem environment, highlighting the icon to click on to Delete Internal Data loaded in the Data Portal.
Report Template.TDR loaded into DIAdem. The tabs at the bottom of the screen indicate that this is a multi-page report.
HTML report created at the conclusion of the LabVIEW example execution.
**This document has been updated to meet the current required format for the NI Code Exchange.**
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Great stuff, thanks for all the detail!
this is one of my favorite things to do. Very powerful for users who want to automate reporting.
Hello,
I have download your example and follow your instuctions how to run this example and it appears that LV creates the HTML report through DIADEM but there aren't any data on it.
I also found this https://forums.ni.com/t5/DIAdem/Exporting-LabVIEW-data-to-DIAdem-PDF-Report/td-p/818647 where there is a similar issue with pdf report through DIADEM but this also has to do with the exe.
Any ideas what this is happening?
Hi
The VI : diadem load data.vi is missing in the folder. The VI can't be tested.
Could you please add this item? I already check and I have the toolkit.
Thank you!