Programmatically Add a Header to My Picture in LabVIEW

Updated Jul 11, 2023



  • LabVIEW Report Generation Toolkit
  • LabVIEW Professional

I have a picture that I can print in LabVIEW. How can I add a header to this picture?

  • Using the Report Generation Toolkit (which is included with LabVIEW Professional Development System):
  1. On the block diagram, Navigate to Programming»Report Generation»New Report VI and select New Report VI which  you use to create the report. The example below shows a report type in Word but you can choose Standard Report, HTML and Excel.
  2. Navigate to Programming»Report Generation»Append Report Text VI and select Append Report Text VI to add a "header".
  3. Go to Programming»Report Generation»Append Image to Report​ VI and select Append Image to Report​ VI to and to navigate to the location of the picture you want to include the header.
  4. Finally, Navigate to Programming»Report Generation»Print Report VI and select Print Report​ VI  to print on your desired printer. You may refer to the picture below for guidelines on wiring. 
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
  • Using default LabVIEW functions.
  1. On the Block Diagram, Navigate to  Programming»Graphics & Sound»Read BMP File VI (You can also select PNG or JPG as necessary) and select Read BMP File VI .
  2. Navigate to Programming»Graphics & Sound»Pictures and Functions»Draw Text at Point VI and select Draw Text at Point VI
  3. Wire the reference for the image to the Draw Text at Point VI