nibcq.switch.DmmSwitchCapability
- class nibcq.switch.DmmSwitchCapability(config: SwitchConfiguration = None)
Bases:
SwitchCapabilitySwitch 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:
device_family (nibcq.enums.DeviceFamily) – The device family (DMM or SMU)
config (SwitchConfiguration) – SwitchConfiguration object
- Returns:
SwitchCapability instance appropriate for the device family.
- Raises:
ValueError – If device family is not supported for switching or config is None.
- Return type: