Write Registry Value Simple VI

Owning Palette: Windows Registry Access VIs

Requires: Base Development System (Windows)

Writes data to the registry value under the key specified by refnum. Wire data to the String/Binary data input to determine the polymorphic instance to use or manually select the instance.

Caution  Incorrectly modifying the registry can damage Windows or prevent you from starting Windows.

Example

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Write Registry Value Simple STR

String/Binary data is the data of Windows registry type String or Binary.
refnum is a handle to the open key.
value is the name of the registry value.
simple data type is the simplified Windows registry type.

0String
1Binary
2DWORD
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out is a handle to the open key.
error out contains error information. This output provides standard error out functionality.

Write Registry Value Simple U32

DWORD data is the data of Windows registry type DWORD.
refnum is a handle to the open key.
value is the name of the registry value.
simple data type is the simplified Windows registry type.

0String
1Binary
2DWORD
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out is a handle to the open key.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Windows Registry Manipulation VI in the labview\examples\Connectivity\Windows Registry Access directory for an example of using the Write Registry Value Simple VI.

 Open example  Find related examples