Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Windows Registry Access VIs (Windows)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Connectivity VIs and Functions

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. The data type you wire to the default data input determines the polymorphic instance to use.
Write Registry Value SimpleWrites data to the registry value under the key specified by refnum. The data type you wire to the String/Binary data input determines the polymorphic instance to use.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit