niSwitch Configure Scan List VI
- Updated2025-10-06
- 3 minute(s) read
Configures the scan list and scan mode used for scanning.
Refer to Devices to determine if the switch module supports scanning.
The scan list is comprised of a list of channel connections separated by semicolons. For example, the following scan list will scan the first three channels of a multiplexer:
com0->ch0; com0->ch1; com0->ch2;
Refer to Scan Lists for more information on scan list syntax.
To see the status of the scan, call either the niSwitch Switch Is Scanning VI or the niSwitch Wait For Scan To Complete VI. Use the niSwitch Configure Scan Trigger VI and the niSwitch Initiate Scan VI to configure the scan trigger and start scan respectively.
Related Topics

Inputs/Outputs
instrument handle
—
instrument handle identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI.
scan list
—
scan mode (Break Before Make)
—
scan mode specifies how the switch module breaks existing connections when scanning. NI-SWITCH uses this value to set the Scan Mode property. Refer to scan modes for more information. The default value is Break Before Make.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI and used for all subsequent NI-SWITCH calls.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle
—
scan list
—
scan mode (Break Before Make)
—
error in (no error)
—
instrument handle out
—
error out
—