nibcq.switch.DmmSwitchCapability ================================ .. py:class:: nibcq.switch.DmmSwitchCapability(config: SwitchConfiguration = None) Bases: :py:obj:`SwitchCapability` Switch capability for DMM devices (OCV measurements). .. py:method:: initialize_switches(sense_switch_resource_name: str, device_terminal_channel: str, sense_device_type: nibcq.enums.SwitchDeviceType = SwitchDeviceType.PXIe_2530B) -> None Initialize single switch session for DMM measurements. :param sense_switch_resource_name: The switch resource name connecting the DMM and the Cells. :param device_terminal_channel: The switching channel connected to the device itself. This connects the OCV Terminal, the DMM itself, to the switch. :param sense_device_type: The switch device type (defaults to PXIe_2530B) .. py:method:: connect_channel(cell: str) -> None Connect DMM to specific DUT channel. :param cell: Channel name for DMM connection .. py:method:: create_for_device_family(device_family: nibcq.enums.DeviceFamily, config: SwitchConfiguration) -> SwitchCapability :classmethod: Factory function to create appropriate switch capability. :param device_family: The device family (DMM or SMU) :param config: SwitchConfiguration object :returns: SwitchCapability instance appropriate for the device family. :raises ValueError: If device family is not supported for switching or config is None. .. py:method:: disconnect_all() -> None Disconnect all channels concurrently. .. py:method:: wait_for_debounce() -> None Wait for all the switch relays to settle concurrently. .. py:method:: close() -> None Close all switch sessions.