- Notifications
You must be signed in to change notification settings - Fork3
kaspervn/py-DMM6500
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Library to communicate easily with a Keithley DMM6500 multimeter via pyvisa
Note1: Be sure to set the multimeter in SCPI communication mode
Example usage:
import pyvisa as visafrom DMM6500 import DMM6500from DMM6500_SCPI import Functionmm = DMM6500(visa.ResourceManager().open_resource('USB::0x05e6::0x6500::*******::INSTR'))mm.reset()mm.function = Function.DC_VOLTAGEprint(mm.measure())
For more examples, see the examples folder.
If you want to just generate the SCPI commands in textual form this library has no requirements.
If you want to communicate with your DMM6500 trough pyvisa this library requires:
- pyvisa
If you have no native visa driver installed, you can use these libraries to handle the communication in user space in linux:
- pyvisa-py
- pyusb
For windows, install theni-visa from National Instruments.
All native SCPI commands are generated byDMM6500_SCPI.py
.Please refer to this file for a list of all possible commands.
Commands with the prefixset_
are special in the sense that you can command to set them as if you are setting a property on the multimeter object. For examplemm.set_range('auto')
does the same asmm.range ='auto'
It is possible to set a bunch of settings at the same time from a dictionary. Seeexample2.py
It could be usefull to refer to the Keithley DMM6500 Reference Manual.
- Handle overflow nicely
- Add more settings
- Test on Windows
- Generate documentation