Table Of Contents

Write Key (G Dataflow)

Last Modified: January 2, 2018

Writes a value to a key in a specified section of the configuration data that you specify.

This node modifies data in memory. To write data to disk, use Close Config Data.

connector_pane_image
datatype_icon

use system decimal point

Boolean specifying whether to use the system decimal separator to designate a decimal point.

This input appears when you wire a double-precision, floating-point number to value.

True This node uses the localized decimal separator.
False This node uses a period as the decimal separator.

Default: True

datatype_icon

section

Name of the section in which to write the specified key.

datatype_icon

reference in

Reference to the configuration data.

datatype_icon

key

Name of the key to write.

datatype_icon

value

Value to write to the key.

This input accepts the following data types:

  1. Boolean
  2. Double-precision, floating-point number
  3. Path
  4. Signed 32-bit integer
  5. String
  6. Unsigned 32-bit integer
datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

write raw string

Boolean specifying whether to write the string without escaping unprintable and backslash (\) characters.

If False, the VI converts any backslashes (\) to double backslashes (\\) and replaces any remaining unprintable characters in the string, such as <ESC>, with a backslash and two Hex characters (\xx). If True, the VI does not convert the unprintable characters in the string.

This input appears when you wire a string to value.

Default: False

datatype_icon

precision

Number of digits after the decimal point.

This input appears when you wire a double-precision, floating-point number to value.

Default: 6

datatype_icon

format

Format of the number.

This input appears when you wire a double-precision, floating-point number to value.

Name Value Description
Fractional 0
Engineering 1
Exponential 2

Default: Fractional

datatype_icon

reference out

Reference to the configuration data.

datatype_icon

found

Boolean value that indicates whether this node found the key in the specified section.

True Found the key in the specified section.
False Did not find the key in the specified section.
datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics