Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Print:VI To Text Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Short Name: Print.VI To Text

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

Saves the VI information to a text file. You cannot save the icon, connector pane, front panel, block diagram, subVI icons, and VI hierarchy to text.

This method is similar to the Plain text file option on the Destination page of the Print dialog box.

Parameters

Data typeNameRequiredDescription
Text File PathYesPath to the text file in which you want to save the VI information. The directory in which you want to save the file must already exist, and you must wire a full path including the text filename.
Append?NoSpecifies whether LabVIEW appends the new information to an existing file. The default is FALSE.
FormatNoSpecifies which VI information to print and the format of the printout. You can select from Custom, Standard, Using Panel, Using SubVI, and Complete. If this input is not Custom, LabVIEW ignores all custom format properties in the Application printing property class.

0Custom (default)—Use the Property Node with the Application class printing properties to specify the format
1Standard—Prints the VI description, icon and connector pane, front panel, and block diagram.
2Using Panel—Prints the VI description, front panel, and controls and indicators, including data types, names, and descriptions. LabVIEW prints the controls and indicators in tabbing order.
3Using SubVI—Prints the VI description, icon and connector pane, and connected controls and indicators, including data types, names, and descriptions. LabVIEW prints the controls and indicators in tabbing order. This format is similar to the format of the VI and function reference topics in the LabVIEW Help.
4Complete—Prints the VI description; icon and connector pane; front panel; controls and indicators, including data types, names, and descriptions; block diagram; a list of subVIs, including icons, names, and paths; revision history information; and the VI hierarchy.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineNo
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryYes
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleYes
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit