Read Registry Value Simple U32 VI
- Updated2025-07-30
- 2 minute(s) read
Reads 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.

Inputs/Outputs
refnum
—
refnum is a handle to the open key.
value
—
value is the name of the registry value.
default data
—
default data is the data to return if value is not found or if an unrecoverable error occurs.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out
—
refnum out is the reference number of the configuration data.
simple data type
—
simple data type is the simplified Windows registry type.
DWORD data
—
DWORD data is the data of Windows registry type DWORD.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Connectivity\Windows Registry Access\Windows Registry Manipulation.vi
refnum
—
value
—
default data
—
error in (no error)
—
refnum out
—
simple data type
—
DWORD data
—
error out
—