To download NI software, including the products shown below, visit ni.com/downloads.
Introduction
There exist solutions to print an image file (e.g., https://decibel.ni.com/content/docs/DOC-33239), or a front panel object (https://decibel.ni.com/content/docs/DOC-33277).
Instead of printing the whole front panel object, the attached Print Image.vi grabs the image from an intensity graph/chart (or an x,y Graph/Chart) and prints it to the default printer. It combines the functionality of the following VIs published elsewhere:
Steps to complete
Implement the VI as shown in the Print Intensity Graph.vi:
Create a "Get Image" invoke node of the front panel object. Set the image depth and wire the image Data to the Print image.vi. The VI prints to the default printer. To print to a different printer, wire up the terminal "input printer name (default)".
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.