nibcq.switch.DmmSwitchCapability

class nibcq.switch.DmmSwitchCapability(config: SwitchConfiguration = None)

Bases: SwitchCapability

Switch capability for DMM devices (OCV measurements).

Parameters:

config (SwitchConfiguration)

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.

Parameters:
  • sense_switch_resource_name (str) – The switch resource name connecting the DMM and the Cells.

  • device_terminal_channel (str) – The switching channel connected to the device itself. This connects the OCV Terminal, the DMM itself, to the switch.

  • sense_device_type (nibcq.enums.SwitchDeviceType) – The switch device type (defaults to PXIe_2530B)

Return type:

None

connect_channel(cell: str) None

Connect DMM to specific DUT channel.

Parameters:

cell (str) – Channel name for DMM connection

Return type:

None

classmethod create_for_device_family(device_family: nibcq.enums.DeviceFamily, config: SwitchConfiguration) SwitchCapability

Factory function to create appropriate switch capability.

Parameters:
Returns:

SwitchCapability instance appropriate for the device family.

Raises:

ValueError – If device family is not supported for switching or config is None.

Return type:

SwitchCapability

disconnect_all() None

Disconnect all channels concurrently.

Return type:

None

wait_for_debounce() None

Wait for all the switch relays to settle concurrently.

Return type:

None

close() None

Close all switch sessions.

Return type:

None