tektronix / tm_devices

Test & Measurement Device Management
https://tm-devices.readthedocs.io
Apache License 2.0
48 stars 21 forks source link

Add function to register USBTMC connection information for devices that don't have native USBTMC connection support in tm_devices #306

Closed nfelt14 closed 2 months ago

nfelt14 commented 2 months ago

Proposed changes

This adds a function that can be used to register USBTMC connection information in addition to the connection information that tm_devices already contains.

This PR also contains some minor updates to constants and modules to make documentation look nicer.

Addresses #305

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

github-actions[bot] commented 2 months ago

Breaking API Changes

src/tm_devices/helpers/constants_and_dataclasses.py:588: USB_MODEL_ID_LOOKUP:
Attribute value was changed:
  Old: MappingProxyType({SupportedModels.MDO3K.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0408'), SupportedModels.MSO2.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0105'), SupportedModels.MSO2KB.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x03A4'), SupportedModels.MSO4.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0527'), SupportedModels.MSO4B.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0527'), SupportedModels.MSO5.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0522'), SupportedModels.MSO5B.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0522'), SupportedModels.MSO5LP.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0529'), SupportedModels.MSO6.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0528'), SupportedModels.MSO6B.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0530'), SupportedModels.LPD6.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x052F'), SupportedModels.AFG3K.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0345'), SupportedModels.SMU2450.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2450'), SupportedModels.SMU2460.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2460'), SupportedModels.SMU2461.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2461'), SupportedModels.SMU2470.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2470'), SupportedModels.SMU2601A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2601'), SupportedModels.SMU2602A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2602'), SupportedModels.SMU2604A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2604'), SupportedModels.SMU2611A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2611'), SupportedModels.SMU2612A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2612'), SupportedModels.SMU2614A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2614'), SupportedModels.SMU2634A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2634'), SupportedModels.SMU2635A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2635'), SupportedModels.SMU2636A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2636'), SupportedModels.SMU2601B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2601'), SupportedModels.SMU2602B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2602'), SupportedModels.SMU2604B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2604'), SupportedModels.SMU2606B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2606'), SupportedModels.SMU2611B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2611'), SupportedModels.SMU2612B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2612'), SupportedModels.SMU2614B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2614'), SupportedModels.SMU2634B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2634'), SupportedModels.SMU2635B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2635'), SupportedModels.SMU2636B.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2636'), SupportedModels.PSU2200.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2200'), SupportedModels.PSU2220.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2220'), SupportedModels.PSU2230.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2230'), SupportedModels.PSU2231.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2231'), SupportedModels.PSU2231A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2231'), SupportedModels.PSU2280.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2280'), SupportedModels.PSU2281.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2281'), SupportedModels.AWG5200.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0503'), SupportedModels.AWG70KA.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0503'), SupportedModels.AWG70KB.value: USBTMCConfiguration(vendor_id=_TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0503'), SupportedModels.SS3706A.value: USBTMCConfiguration(vendor_id=_KEITHLEY_USBTMC_VENDOR_ID, model_id='0x3706')})
  New: MappingProxyType({SupportedModels.MDO3K: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0408'), SupportedModels.MSO2: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0105'), SupportedModels.MSO2KB: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x03A4'), SupportedModels.MSO4: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0527'), SupportedModels.MSO4B: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0527'), SupportedModels.MSO5: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0522'), SupportedModels.MSO5B: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0522'), SupportedModels.MSO5LP: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0529'), SupportedModels.MSO6: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0528'), SupportedModels.MSO6B: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0530'), SupportedModels.LPD6: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x052F'), SupportedModels.AFG3K: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0345'), SupportedModels.SMU2450: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2450'), SupportedModels.SMU2460: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2460'), SupportedModels.SMU2461: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2461'), SupportedModels.SMU2470: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2470'), SupportedModels.SMU2601A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2601'), SupportedModels.SMU2602A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2602'), SupportedModels.SMU2604A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2604'), SupportedModels.SMU2611A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2611'), SupportedModels.SMU2612A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2612'), SupportedModels.SMU2614A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2614'), SupportedModels.SMU2634A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2634'), SupportedModels.SMU2635A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2635'), SupportedModels.SMU2636A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2636'), SupportedModels.SMU2601B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2601'), SupportedModels.SMU2602B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2602'), SupportedModels.SMU2604B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2604'), SupportedModels.SMU2606B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2606'), SupportedModels.SMU2611B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2611'), SupportedModels.SMU2612B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2612'), SupportedModels.SMU2614B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2614'), SupportedModels.SMU2634B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2634'), SupportedModels.SMU2635B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2635'), SupportedModels.SMU2636B: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2636'), SupportedModels.PSU2200: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2200'), SupportedModels.PSU2220: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2220'), SupportedModels.PSU2230: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2230'), SupportedModels.PSU2231: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2231'), SupportedModels.PSU2231A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2231'), SupportedModels.PSU2280: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2280'), SupportedModels.PSU2281: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x2281'), SupportedModels.AWG5200: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0503'), SupportedModels.AWG70KA: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0503'), SupportedModels.AWG70KB: USBTMCConfiguration(vendor_id=TEKTRONIX_USBTMC_VENDOR_ID, model_id='0x0503'), SupportedModels.SS3706A: USBTMCConfiguration(vendor_id=KEITHLEY_USBTMC_VENDOR_ID, model_id='0x3706')})

src/tm_devices/drivers/device_driver_mapping.py:110: DEVICE_DRIVER_MODEL_MAPPING:
Attribute value was changed:
  Old: MappingProxyType({SupportedModels.AFG3K.value: AFG3K, SupportedModels.AFG3KB.value: AFG3KB, SupportedModels.AFG3KC.value: AFG3KC, SupportedModels.AFG31K.value: AFG31K, SupportedModels.AWG5200.value: AWG5200, SupportedModels.AWG5K.value: AWG5K, SupportedModels.AWG5KB.value: AWG5KB, SupportedModels.AWG5KC.value: AWG5KC, SupportedModels.AWG7K.value: AWG7K, SupportedModels.AWG7KB.value: AWG7KB, SupportedModels.AWG7KC.value: AWG7KC, SupportedModels.AWG70KA.value: AWG70KA, SupportedModels.AWG70KB.value: AWG70KB, SupportedModels.DPO5K.value: DPO5K, SupportedModels.DPO5KB.value: DPO5KB, SupportedModels.DPO7K.value: DPO7K, SupportedModels.DPO7KC.value: DPO7KC, SupportedModels.DPO70K.value: DPO70K, SupportedModels.DPO70KC.value: DPO70KC, SupportedModels.DPO70KD.value: DPO70KD, SupportedModels.DPO70KDX.value: DPO70KDX, SupportedModels.DPO70KSX.value: DPO70KSX, SupportedModels.DSA70K.value: DSA70K, SupportedModels.DSA70KC.value: DSA70KC, SupportedModels.DSA70KD.value: DSA70KD, SupportedModels.LPD6.value: LPD6, SupportedModels.MSO2K.value: MSO2K, SupportedModels.MSO2KB.value: MSO2KB, SupportedModels.DPO2K.value: DPO2K, SupportedModels.DPO2KB.value: DPO2KB, SupportedModels.MDO3.value: MDO3, SupportedModels.MDO3K.value: MDO3K, SupportedModels.MDO4K.value: MDO4K, SupportedModels.MDO4KB.value: MDO4KB, SupportedModels.MDO4KC.value: MDO4KC, SupportedModels.MSO4K.value: MSO4K, SupportedModels.MSO4KB.value: MSO4KB, SupportedModels.DPO4K.value: DPO4K, SupportedModels.DPO4KB.value: DPO4KB, SupportedModels.MSO2.value: MSO2, SupportedModels.MSO4.value: MSO4, SupportedModels.MSO4B.value: MSO4B, SupportedModels.MSO5.value: MSO5, SupportedModels.MSO5B.value: MSO5B, SupportedModels.MSO5LP.value: MSO5LP, SupportedModels.MSO6.value: MSO6, SupportedModels.MSO6B.value: MSO6B, SupportedModels.MSO5K.value: MSO5K, SupportedModels.MSO5KB.value: MSO5KB, SupportedModels.MSO70K.value: MSO70K, SupportedModels.MSO70KC.value: MSO70KC, SupportedModels.MSO70KDX.value: MSO70KDX, SupportedModels.TEKSCOPEPC.value: TekScopePC, SupportedModels.TSOVU.value: TSOVu, SupportedModels.TMT4.value: TMT4, SupportedModels.SMU2400.value: SMU2400, SupportedModels.SMU2401.value: SMU2401, SupportedModels.SMU2410.value: SMU2410, SupportedModels.SMU2450.value: SMU2450, SupportedModels.SMU2460.value: SMU2460, SupportedModels.SMU2461.value: SMU2461, SupportedModels.SMU2470.value: SMU2470, SupportedModels.SMU2601B.value: SMU2601B, SupportedModels.SMU2601B_PULSE.value: SMU2601BPulse, SupportedModels.SMU2602B.value: SMU2602B, SupportedModels.SMU2604B.value: SMU2604B, SupportedModels.SMU2606B.value: SMU2606B, SupportedModels.SMU2611B.value: SMU2611B, SupportedModels.SMU2612B.value: SMU2612B, SupportedModels.SMU2614B.value: SMU2614B, SupportedModels.SMU2634B.value: SMU2634B, SupportedModels.SMU2635B.value: SMU2635B, SupportedModels.SMU2636B.value: SMU2636B, SupportedModels.SMU2651A.value: SMU2651A, SupportedModels.SMU2657A.value: SMU2657A, SupportedModels.SMU2601A.value: SMU2601A, SupportedModels.SMU2602A.value: SMU2602A, SupportedModels.SMU2604A.value: SMU2604A, SupportedModels.SMU2611A.value: SMU2611A, SupportedModels.SMU2612A.value: SMU2612A, SupportedModels.SMU2614A.value: SMU2614A, SupportedModels.SMU2634A.value: SMU2634A, SupportedModels.SMU2635A.value: SMU2635A, SupportedModels.SMU2636A.value: SMU2636A, SupportedModels.SMU6430.value: SMU6430, SupportedModels.SMU6514.value: SMU6514, SupportedModels.SMU6517B.value: SMU6517B, SupportedModels.PSU2200.value: PSU2200, SupportedModels.PSU2220.value: PSU2220, SupportedModels.PSU2230.value: PSU2230, SupportedModels.PSU2231.value: PSU2231, SupportedModels.PSU2231A.value: PSU2231A, SupportedModels.PSU2280.value: PSU2280, SupportedModels.PSU2281.value: PSU2281, SupportedModels.DMM6500.value: DMM6500, SupportedModels.DMM7510.value: DMM7510, SupportedModels.DMM7512.value: DMM7512, SupportedModels.DAQ6510.value: DAQ6510, SupportedModels.SS3706A.value: SS3706A})
  New: MappingProxyType({SupportedModels.AFG3K: AFG3K, SupportedModels.AFG3KB: AFG3KB, SupportedModels.AFG3KC: AFG3KC, SupportedModels.AFG31K: AFG31K, SupportedModels.AWG5200: AWG5200, SupportedModels.AWG5K: AWG5K, SupportedModels.AWG5KB: AWG5KB, SupportedModels.AWG5KC: AWG5KC, SupportedModels.AWG7K: AWG7K, SupportedModels.AWG7KB: AWG7KB, SupportedModels.AWG7KC: AWG7KC, SupportedModels.AWG70KA: AWG70KA, SupportedModels.AWG70KB: AWG70KB, SupportedModels.DPO5K: DPO5K, SupportedModels.DPO5KB: DPO5KB, SupportedModels.DPO7K: DPO7K, SupportedModels.DPO7KC: DPO7KC, SupportedModels.DPO70K: DPO70K, SupportedModels.DPO70KC: DPO70KC, SupportedModels.DPO70KD: DPO70KD, SupportedModels.DPO70KDX: DPO70KDX, SupportedModels.DPO70KSX: DPO70KSX, SupportedModels.DSA70K: DSA70K, SupportedModels.DSA70KC: DSA70KC, SupportedModels.DSA70KD: DSA70KD, SupportedModels.LPD6: LPD6, SupportedModels.MSO2K: MSO2K, SupportedModels.MSO2KB: MSO2KB, SupportedModels.DPO2K: DPO2K, SupportedModels.DPO2KB: DPO2KB, SupportedModels.MDO3: MDO3, SupportedModels.MDO3K: MDO3K, SupportedModels.MDO4K: MDO4K, SupportedModels.MDO4KB: MDO4KB, SupportedModels.MDO4KC: MDO4KC, SupportedModels.MSO4K: MSO4K, SupportedModels.MSO4KB: MSO4KB, SupportedModels.DPO4K: DPO4K, SupportedModels.DPO4KB: DPO4KB, SupportedModels.MSO2: MSO2, SupportedModels.MSO4: MSO4, SupportedModels.MSO4B: MSO4B, SupportedModels.MSO5: MSO5, SupportedModels.MSO5B: MSO5B, SupportedModels.MSO5LP: MSO5LP, SupportedModels.MSO6: MSO6, SupportedModels.MSO6B: MSO6B, SupportedModels.MSO5K: MSO5K, SupportedModels.MSO5KB: MSO5KB, SupportedModels.MSO70K: MSO70K, SupportedModels.MSO70KC: MSO70KC, SupportedModels.MSO70KDX: MSO70KDX, SupportedModels.TEKSCOPEPC: TekScopePC, SupportedModels.TSOVU: TSOVu, SupportedModels.TMT4: TMT4, SupportedModels.SMU2400: SMU2400, SupportedModels.SMU2401: SMU2401, SupportedModels.SMU2410: SMU2410, SupportedModels.SMU2450: SMU2450, SupportedModels.SMU2460: SMU2460, SupportedModels.SMU2461: SMU2461, SupportedModels.SMU2470: SMU2470, SupportedModels.SMU2601B: SMU2601B, SupportedModels.SMU2601B_PULSE: SMU2601BPulse, SupportedModels.SMU2602B: SMU2602B, SupportedModels.SMU2604B: SMU2604B, SupportedModels.SMU2606B: SMU2606B, SupportedModels.SMU2611B: SMU2611B, SupportedModels.SMU2612B: SMU2612B, SupportedModels.SMU2614B: SMU2614B, SupportedModels.SMU2634B: SMU2634B, SupportedModels.SMU2635B: SMU2635B, SupportedModels.SMU2636B: SMU2636B, SupportedModels.SMU2651A: SMU2651A, SupportedModels.SMU2657A: SMU2657A, SupportedModels.SMU2601A: SMU2601A, SupportedModels.SMU2602A: SMU2602A, SupportedModels.SMU2604A: SMU2604A, SupportedModels.SMU2611A: SMU2611A, SupportedModels.SMU2612A: SMU2612A, SupportedModels.SMU2614A: SMU2614A, SupportedModels.SMU2634A: SMU2634A, SupportedModels.SMU2635A: SMU2635A, SupportedModels.SMU2636A: SMU2636A, SupportedModels.SMU6430: SMU6430, SupportedModels.SMU6514: SMU6514, SupportedModels.SMU6517B: SMU6517B, SupportedModels.PSU2200: PSU2200, SupportedModels.PSU2220: PSU2220, SupportedModels.PSU2230: PSU2230, SupportedModels.PSU2231: PSU2231, SupportedModels.PSU2231A: PSU2231A, SupportedModels.PSU2280: PSU2280, SupportedModels.PSU2281: PSU2281, SupportedModels.DMM6500: DMM6500, SupportedModels.DMM7510: DMM7510, SupportedModels.DMM7512: DMM7512, SupportedModels.DAQ6510: DAQ6510, SupportedModels.SS3706A: SS3706A})

Link to workflow run

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (1f39375) to head (b69c984). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #306 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 152 152 Lines 4885 4895 +10 Branches 780 780 ========================================= + Hits 4885 4895 +10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

Test Results (ubuntu)

path passed subtotal
tests/test_afgs.py 2 2
tests/test_alias_dict.py 1 1
tests/test_all_device_drivers.py 1 1
tests/test_alternative_connection_addresses.py 19 19
tests/test_awgs.py 4 4
tests/test_config_parser.py 38 38
tests/test_device_manager.py 17 17
tests/test_devices_legacy_tsp_ieee_cmds.py 3 3
tests/test_extension_mixin.py 1 1
tests/test_generate_waveform.py 6 6
tests/test_helpers.py 72 72
tests/test_ieee_scpi_cmds.py 1 1
tests/test_margin_testers.py 5 5
tests/test_pi_device.py 1 1
tests/test_psu.py 1 1
tests/test_rest_api_device.py 10 10
tests/test_scopes.py 8 8
tests/test_singleton.py 1 1
tests/test_smu.py 4 4
tests/test_ss.py 1 1
tests/test_tm_devices.py 5 5
tests/test_unsupported_device_type.py 1 1
TOTAL 202 202

Link to workflow run

github-actions[bot] commented 2 months ago

Test Results (macos)

path passed subtotal
tests/test_afgs.py 2 2
tests/test_alias_dict.py 1 1
tests/test_all_device_drivers.py 1 1
tests/test_alternative_connection_addresses.py 19 19
tests/test_awgs.py 4 4
tests/test_config_parser.py 38 38
tests/test_device_manager.py 17 17
tests/test_devices_legacy_tsp_ieee_cmds.py 3 3
tests/test_extension_mixin.py 1 1
tests/test_generate_waveform.py 6 6
tests/test_helpers.py 72 72
tests/test_ieee_scpi_cmds.py 1 1
tests/test_margin_testers.py 5 5
tests/test_pi_device.py 1 1
tests/test_psu.py 1 1
tests/test_rest_api_device.py 10 10
tests/test_scopes.py 8 8
tests/test_singleton.py 1 1
tests/test_smu.py 4 4
tests/test_ss.py 1 1
tests/test_tm_devices.py 5 5
tests/test_unsupported_device_type.py 1 1
TOTAL 202 202

Link to workflow run

github-actions[bot] commented 2 months ago

Test Results (windows)

path passed subtotal
tests\test_afgs.py 2 2
tests\test_alias_dict.py 1 1
tests\test_all_device_drivers.py 1 1
tests\test_alternative_connection_addresses.py 19 19
tests\test_awgs.py 4 4
tests\test_config_parser.py 38 38
tests\test_device_manager.py 17 17
tests\test_devices_legacy_tsp_ieee_cmds.py 3 3
tests\test_extension_mixin.py 1 1
tests\test_generate_waveform.py 6 6
tests\test_helpers.py 72 72
tests\test_ieee_scpi_cmds.py 1 1
tests\test_margin_testers.py 5 5
tests\test_pi_device.py 1 1
tests\test_psu.py 1 1
tests\test_rest_api_device.py 10 10
tests\test_scopes.py 8 8
tests\test_singleton.py 1 1
tests\test_smu.py 4 4
tests\test_ss.py 1 1
tests\test_tm_devices.py 5 5
tests\test_unsupported_device_type.py 1 1
TOTAL 202 202

Link to workflow run