niSwitch Set Path VI
- Updated2025-10-06
- 2 minute(s) read
Connects two channels by specifying an explicit path in the path list parameter. This VI is useful where path repeatability is important, such as in calibrated signal paths. If path repeatability is not necessary, use the niSwitch Connect Channels VI.
To obtain the exact path for a given connection, use the niSwitch Get Path VI.
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.
path list
—
path list is a string composed of comma-separated paths between channel 1 and channel 2. The first and last names in the path are the path endpoints. All other channels in the path are configuration channels. Example of a valid path list string: ch0->com0, com0->ab0. In this example, com0 is a configuration channel. Obtain the path list for a previously created path with the niSwitch Get Path VI.
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
—
path list
—
error in (no error)
—
instrument handle out
—
error out
—