To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to save the whole front panel of a VI as a screenshot on disk.
Description
Sometimes you want to save an image of the front panel, but you do not want to put it in a report and would rather keep it as a separate image file. This VI works as a great subVI to take the VI path you wire to it as well as an image path. You can save your image in JPEG, PNG or BMP file formats.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
If you want to copy the screenshot into the clipboard instead of saving it to disk, take a look into this example:
Export A Screenshot Of A Graph/Chart/Front Panel To The Clipboard
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.