Initialize with Topology (Simulate) VI
- Updated2025-10-06
- 2 minute(s) read
Returns a session handle used to identify the SLSC module in all subsequent SLSC Switch driver calls and sets the topology of the switch module.
The switches json parameter specifies the topology and relay definitions to use with the simulated module.
You can use this VI to query module properties without hardware, such as calling Get Channel Names and Can Connect Channels.

Inputs/Outputs
switches json
—
switches json specifies the json string used to define the relays and topologies. This is used when a device is offline or does not have the information stored on the module.
topology
—
topology specifies the topology to use for the switch module specified in device . Refer to your device's documentation for a list of valid topologies.
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. |
switches json
—
error in (no error)
—
session out
—
error out
—