Relay Control VI
- Updated2025-10-06
- 2 minute(s) read
Controls individual relays of the switch module. When controlling individual relays, the protection offered by setting the usage of source channels and configurations channels is void.
Refer to Devices to determine if the switch module supports individual relay control.
Related Topics

Inputs/Outputs
session in
—
session in identifies a particular SLSC Switch session established with SLSC Switch.lvlib:Initialize with Topology and used for this NI-SLSC Switch call.
relay names
—
relay names is the name of the relay or set of relays to control. You can supply a single relay name or comma-delimited list of relay names to control these relays.
relay action (Close Relay)
—
relay action specifies whether to open or close the relay. The default value is Close Relay (21).
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
session out
—
session out identifies a particular SLSC Switch session established with SLSC Switch.lvlib:Initialize with Topology and used for this NI-SLSC Switch call.
error out
—
error out contains error information. This output provides standard error out functionality. |
session in
—
relay names
—
relay action (Close Relay)
—
error in (no error)
—
session out
—
error out
—