Windows Registry Access VIs

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Connectivity VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Windows Registry Access VIs to create, open, query, enumerate, close, and delete Windows registry keys. You also can enumerate, read, write, and delete the value of Windows registry keys.

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

The VIs on this palette can return Windows registry access error codes.

Palette ObjectDescription
Close Registry KeyCloses a key in the Windows registry.
Create Registry KeyCreates a key in the Windows registry or opens it, if it already exists.
Delete Registry KeyDeletes the specified key or subkey.
Delete Registry ValueDeletes the specified value for the specified key.
Enum Registry KeysEnumerates subkeys of the specified key or subkey.
Enum Registry Values SimpleEnumerates the values for the specified key or subkey. If retrieve data? is TRUE, the VI returns DWORD data and String/Binary data in addition to values and simple data types.
Open Registry KeyOpens a reference to a key or subkey in the Windows registry.
Query Registry Key InfoRetrieves information about keys.
Read Registry Value SimpleReads data and the simplified data type from a registry value. If the key or value does not exist or an unrecoverable error occurs, the VI returns the default data. Wire data to the default data input to determine the polymorphic instance to use or manually select the instance.

Write Registry Value SimpleWrites 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.


Not Helpful