Metadata-Version: 2.1
Name: SCPI-Lab-Instruments
Version: 0.0.1
Summary: Control instruments in the receiver lab over Ethernet using SCPI commands
Home-page: https://github.com/Smithsonian/SCPI-Lab-Instruments
Author: John Garrett
Author-email: john.garrett@cfa.harvard.edu
License: MIT
Project-URL: Changelog, https://github.com/Smithsonian/SCPI-Lab-Instruments/CHANGES.md
Project-URL: Issue Tracker, https://github.com/Smithsonian/SCPI-Lab-Instruments/issues
Description: SCPI Lab Instruments
        ====================
        
        Control instruments in the receiver lab over Ethernet using SCPI commands
        
        Installation
        ------------
        
        To install via ``pip``:
        
        ```bash
        # From the GitHub repo (latest version)
        python3 -m pip install git+https://github.com/Smithsonian/SCPI-Lab-Instruments.git
        
        # From PyPI (latest stable release)
        python3 -m pip install SCPI-Lab-Instruments
        ```
        
        To use the Keithley module, you need to install the ``vxi11`` package:
        
        ```bash
        python3 -m pip install git+https://github.com/python-ivi/python-vxi11.git
        ```
        
        **Note:** I have not added these packages to the requirements in ``setup.py`` because this allows you to decide which packages you want/need to install. For example, if you only want to use the Hittite module, you don't need to install ``vxi11``.
        
        Supported Instruments
        ---------------------
        
        - Agilent 34410A/11A/L4411A 6.5 Digit Multimeters
        - Hittite HMC-T2240 signal generators
        - Keithley 2280 power supplies
        - Micro Lambda Wireless (MLBF series) YIG tuned filters
        
        Example
        -------
        
        ```python
        from labinstruments.agilent import Agilent34411A
        from labinstruments.hittite import Hittite
        from labinstruments.keithley import Keithley2280
        from labinstruments.microlambda import YigFilter
        
        # Connect to an Agilent multimeter
        dmm = Agilent34411A("192.168.0.3", 5025)
        print("DC voltage: {:.2f} V".format(dmm.measure_dc_voltage('V')))
        dmm.close()  # close connection
        
        # Connect to Hittite signal generator
        sg = Hittite('192.168.0.159')
        sg.set_power(-40, 'dBm')
        sg.set_frequency(5, 'GHz')
        sg.power_on()
        sg.close()
        
        # Connect to Keithley power supply
        ps = Keithley2280('192.168.0.117')
        ps.reset()
        ps.output_on()
        ps.set_voltage_limit(12)
        ps.set_voltage(2)
        ps.set_current(0.1)
        ps.power_on()
        ps.close()
        
        # Connect to Micro Lambda YIG filter
        yig = YigFilter('192.168.0.3')
        yig.set_frequency(5, 'GHz')
        yig.close()
        ```
        
        References
        ----------
        
        ["System Power Supply Programming Using SCPI Commands"](https://www.keysight.com/us/en/assets/7018-06572/white-papers/5992-3841.pdf) from Keysight
        
Keywords: SCPI,Ethernet,Lab equipment,Signal generator,DC power supply
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering
Description-Content-Type: text/markdown
