Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Inserts input data at specified locations in a string, formats the data according to your specifications, and then writes that string to a file.

connector_pane_image
datatype_icon

format string

A string that includes a format specifier for each input along with any additional text that you want to appear in the output. A format specifier is a series of characters, initiated by a %, that indicates how to convert the associated input argument into text.

Each format specifier uses the following general syntax:

% modifiers specifier

This input accepts a maximum of 255 characters.

Specifiers

Modifiers for Numeric Specifiers (x, o, b, d, u, f, e, g, p)

Modifiers for Time Specifiers (t, T)

Modifiers for the String Specifier (s)

Modifier for Reordering Inputs

Modifiers for Overriding Units

Syntax for Including Literal Characters in a Format String

Default: A string containing the default format specifier for the data type of each input, separated by spaces

datatype_icon

input file

The file that this node uses.

This input can be a reference to a file or an absolute file path. In both cases, the node creates the specified file if it does not already exist. The node opens the specified file without requiring you to call Open/Create/Replace File first.

If you specify an empty or relative path, this function returns an error.

Default: No value — Displays a file dialog box that prompts you to select a file.

datatype_icon

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: no error

datatype_icon

input

Input data to be converted to text, as determined by the corresponding format specifier in format string. This node assigns inputs to format specifiers sequentially, such that the first format specifier formats input 1, the second format specifier formats input 2, and so on.

Each input can be a string, path, Boolean, enumerated type, timestamp, or numeric value. You cannot use arrays and clusters with this node.

The number of input parameters must match the number of format specifiers in format string. Furthermore, the data type of each input must be compatible with the associated format specifier. Otherwise, the node returns an error.

datatype_icon

output file

The reference to the file to which the node wrote the formatted data.

datatype_icon

error out

Error information. The node produces this output according to standard error behavior.