Skip to content

Collection of automation scripts of Hardware Lab Equipment

License

Notifications You must be signed in to change notification settings

caizikun/Instruments-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instruments

Repository for shared instruments. This includes things controlled over serial directly and visa through gbip, serial, or usb. This also provides the Python serial library, as many instruments require it, and it is often useful in parallel for talking to devices under test. <Edited by Ishaan,2>

Note for OSX/VISA:

RUNNING TESTS/ GUIDELINES:

  • All code in this repository should be linted BEFORE opening a PR. This can be done by:
    • Checking out the test_utils (ssh://git@git.corp.squareup.com/hw/test_utils.git) repository to your ~/Development/ Directory
    • Running: python ../test_utils/pygiene.py . -cfg pygiene.cfg -pep8 ../test_utils/pep8.cfg -pylint ../test_utils/pylint.cfg in the root directory of this repository
  • If possible, run the tests/ on any files you may have changed. This is a bit wonky. One needs to run the tests as a module to get around python import from above weirdness:
    • e.g. dmm test: python -m tests.e34461_dmm_test TCPIP::172.24.1.215
  • If you implement a new driver, please implement a test if at all possible! (come see Cliff for how to Jenkins)

VISA:

Serial:

(Library provided with minor fix to make windows work)

  • BK8500 dc load (provided my manufacturer)
  • KTA Relay
    • Tested on OSX and Windows
  • linmotasf(currently not in this repo, fix!)

Note for LitePoint equipments iqNFC and iqXel:

  • Both support SCPI and communicate with ethernet cable.
  • The drivers are stored here: sftp1.corp.squareup.com:/app/factories/home/foxlink1/drivers

Other:

About

Collection of automation scripts of Hardware Lab Equipment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages