niSwitch Property Node VI
- Updated2025-10-06
- 3 minute(s) read
Gets (reads) and/or sets (writes) properties of the NI-SWITCH driver. For a complete list of NI-SWITCH properties, refer to NI-SWITCH Properties.
Channel Based Properties
Some NI-SWITCH properties are channel based or apply to a specific channel. When a property is channel based, you must specify an active channel before setting or getting properties. In the following example, ab0 is set as a source channel and ch0 is set as a configuration channel. Both properties are channel based.
Non-Channel Based Properties
To set or get NI-SWITCH properties that are not channel based, you must not specify an active channel or must specify an active channel of "". The following example shows a property node used to get the value of the Driver Vendor property.
Related Topics:

Inputs/Outputs
reference
—
reference passes a reference to your instrument session to the next VI.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
reference out
—
reference out passes a reference to your instrument session to the next VI.
error out
—
error out contains error information. This output provides standard error out functionality.
Property
—
property are examples of properties you want to set (write) or get (read). |
reference
—
error in (no error)
—
reference out
—
error out
—
Property
—