Package: tm-devices
TestingCode QualityPackageDocumentationCode StyleLintingtm_devices: Test & Measurement Device Managementtm_devicesis a device management package which allows for better
control and usage of Test & Measurement devices in python scripts. This
is accomplished by using thePyVISApackage to manage
connections and communication with devices.tm_devicesgives users
access to a much higher level abstraction of device control by providing
access to device drivers with a complete Python API.Dependenciestm_devicescan be used without any external (non-python)
dependencies on any operating system thanks to thePyVISA-pyVISA backend. However, in order to use any VISA functionality that
PyVISA-py does not implement, a third-party VISA backend such asNI-VISAcan be installed.tm_deviceswill use an available VISA backend if
one is found and will fall back to using PyVISA-py if no other VISA
backends are installed.Installationpip install tm_devicesBasic UsagePrint Available VISA Devices$list-visa-resources[
  "TCPIP0::192.168.0.100::inst0::INSTR",
  "ASRL4::INSTR"
]Basic Scriptfromtm_devicesimportDeviceManagerwithDeviceManager()asdevice_manager:scope=device_manager.add_scope("192.168.0.100")scope.query("*IDN?")print(scope)Supported Devices & Software SolutionsLegendSymbol/TermDefinition🚧Work in progress✅Implemented❌Not SupportedSee theglossaryfor information on abbreviations.Device Support LevelsTypeSeries/ModelCommandTypeBasicControlPython APIValidationStatusAFGs <AFG>AFG3000PI✅AFG31xxxPI✅AWGs <AWG>AWG5000PI✅AWG5200PI✅AWG7000PI✅AWG70000PI✅Scopes <Scope>2 Series MSOPI✅✅3 Series MDOPI✅4 Series MSOPI✅✅4 Series B MSOPI✅✅5 Series MSOPI✅✅5 Series B MSOPI✅✅5 Series MSO (LP)PI✅✅6 Series MSOPI✅✅6 Series B MSOPI✅✅6 Series LPDPI✅✅MSO2000/BPI✅DPO2000/BPI✅MDO3000PI✅MDO4000/B/CPI✅MSO4000/BPI✅DPO4000/BPI✅MSO5000/BPI✅DPO5000/BPI✅🚧DPO7000/CPI✅🚧DPO70000/C/D/DX/SXPI✅✅DSA70000/C/DPI✅✅MSO70000/C/DXPI✅✅TSOVuPI✅TekScopePI✅PSUs <PSU>2200PI✅2220PI✅2230PI✅2231PI✅2280SPI✅2281SPI✅SMUs <SMU>24xx StandardPI✅24xx InteractiveTSP✅✅26xxBTSP✅🚧Model 2601B-PULSETSP✅Model 2606BTSP✅🚧2651ATSP✅2657ATSP✅6430 (electrometer)PI✅6514 (electrometer)PI✅6517B (electrometer)PI✅MTs <MT>TMT4API✅DMMs <DMM>DMM6500TSP✅DMM7510TSP✅DMM7512TSP✅DAQs <DAQ>DAQ6510TSP✅SSs <SS>3706ATSP✅Software Solution Support LevelsSoftwareSolutionCommandTypeBasicControlPython APIValidationStatusDPOJETPI✅✅Supported ConnectionsREST APIVISA(NI-VISA and PyVISA-py)TCPIPASRL / Serial / RS-232 / RS-485SOCKETUSBTMC(no PyVISA-py support)GPIB(no PyVISA-py support)DocumentationSee the full documentation athttps://tektronix.github.io/tm_devices/MaintainersBefore reaching out to any maintainers directly, please first check if your issue or question is already
covered by anyopen issues. If the issue or
question you have is not already covered, pleasefile a new issueor
start adiscussionand the
maintainers will review and respond there.tmdevicessupport@tektronix.com- For technical support and questions.opensource@tektronix.com- For open-source policy and license questions.ContributingInterested in contributing? Check out thecontributing
guidelines. Please note that this project is
released with aCode of Conduct. By
contributing to this project, you agree to abide by its terms.Licensetm_deviceswas created by Tektronix. It is licensed under the terms
of theApache License 2.0.Creditstm_deviceswas created withcookiecutterand thepy-pkgs-cookiecuttertemplate.