Using a SubVI to Print Data from a Higher Level VI
- Updated2025-08-15
- 1 minute(s) read
You might want to programmatically print a VI only if the user clicks a button or if some condition occurs, such as a test failure. You also might want more control over the format for the printout, or you might want to print only a subset of the controls. In these cases, you can use a subVI that is set to print at completion.
Complete the following steps to use a subVI to print data from a higher level VI.
- Create a subVI.
- Format the front panel the way you want LabVIEW to print it.
- Select Operate»Print at Completion in the subVI.
- When you want to print, call the subVI and wire the data you want to print to the subVI.