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.


icon

Inputs/Outputs

  • cstr.png 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.

  • cstr.png 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • igenclassrn.png 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.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.