nibcq.enums.SwitchTopology

class nibcq.enums.SwitchTopology(*args, **kwds)

Bases: enum.Enum

Enumeration of available switch topologies for multiplexer configurations.

Defines the standard relay topologies supported by NI switch modules for Battery Cell Quality testing applications. Each topology provides different channel counts and connection capabilities for DUT switching.

Values:
SWITCH_2_WIRE_64X1_MUX (“2-Wire 64x1 Mux”):
  • Single 64-channel multiplexer

  • Maximum DUT capacity with 2-wire connections

SWITCH_2_WIRE_DUAL_32X1_MUX (“2-Wire Dual 32x1 Mux”):
  • Two independent 32-channel multiplexers

  • Good for applications requiring channel isolation

SWITCH_2_WIRE_QUAD_16X1_MUX (“2-Wire Quad 16x1 Mux”):
  • Four independent 16-channel multiplexers

  • Recommended topology for most applications

  • Good balance of channel count and flexibility

Examples

>>> topology = SwitchTopology.SWITCH_2_WIRE_QUAD_16X1_MUX
>>> config = SwitchConfiguration(topology, ["ch0", "ch1"])
>>> print(config.get_topology_string())  # "2-Wire Quad 16x1 Mux"