This is an old revision of the document!
Table of Contents
Test & measurement home lab
DMM Keysight 34465A
Remote control via Python
Using sockets
$ python >>> import socket >>> ksaddr=('34465a', 5025) >>> s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) >>> s.connect(ksaddr) >>> s.sendall('meas:volt:dc? 10,0.001\n') >>> data=s.recv(1024) >>> print data >>> s.close()
Using pyvisa package
- install pyvisa first - following example is run on s11.4
# pip install pyvisa Collecting pyvisa Downloading https://files.pythonhosted.org/packages/51/d1/fc21b45228718cde06b33b08761a6a9aa859dfe51dfbf07e81e0f209e776/PyVISA-1.10.1.tar.gz (6.8MB) 100% |████████████████████████████████| 6.8MB 94kB/s Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/vendor-packages (from pyvisa) Installing collected packages: pyvisa Running setup.py install for pyvisa ... done Successfully installed pyvisa-1.10.1 You are using pip version 8.1.2, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. # pip install pyvisa-py Collecting pyvisa-py Downloading https://files.pythonhosted.org/packages/7c/85/6f3170a31596d8e1ae55a108c07976da7ed2827c7a4328958fc242a88bc9/PyVISA-py-0.3.1.tar.gz (57kB) 100% |████████████████████████████████| 61kB 953kB/s Requirement already satisfied (use --upgrade to upgrade): pyvisa>=1.8 in /usr/lib/python2.7/site-packages (from pyvisa-py) Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/vendor-packages (from pyvisa>=1.8->pyvisa-py) Installing collected packages: pyvisa-py Running setup.py install for pyvisa-py ... done Successfully installed pyvisa-py-0.3.1 You are using pip version 8.1.2, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. #
- run simple program to acquire measured value
$ python >>> import pyvisa >>> rm = pyvisa.ResourceManager() >>> inst = rm.open_resource('TCPIP0::34465a::inst0::INSTR') >>> print (inst.query("*IDN?")) Keysight Technologies,34465A,MY59008429,A.03.01-03.15-03.01-00.52-03-02 >>> print (inst.query("SYST:ERR?")) +0,"No error" >>> print(inst.query("MEAS:VOLT:DC? 10,0.001")) +7.79228646E-01 >>> data=inst.query("MEAS:VOLT:DC? 10,0.001") >>> data u'+1.99758447E-05\n' >>>
Laboratory power supply OWON ODP3122
Basic specification
- 2 channels
- channel 1: 0-30V/0-12A
- channel 2: 0-6V/0-3A
Remote control via LAN
$ telnet 192.168.1.99 3000 Trying 192.168.1.99... Connected to 192.168.1.99. Escape character is '^]'. MEASure:VOLTage:ALL? 0.000, 0.000 MEASure:CURRent:ALL? 0.000, 0.000 CHANnel:OUTPut:ALL? 0, 0 APP:VOLT? 14.600, 3.300 APP:CURR? 1.000, 1.000 VOLT:LIMIT:ALL? 31.000, 6.600 CURR:LIMIT:ALL? 12.100, 3.100 SYSTem:REMote SYSTem:LOCal INST:NSELect 2 VOLTage 3.000 CURRent 2.000 CHANnel:OUTPut 1 VOLT:LIMIT 4.000 VOLT:LIMIT MAX APP:VOLT 14.000,3.300 APP:CURR 2.000,1.000 ^] telnet> q Connection closed.
DSO LeCroy WaveAce 224
Basic specification
- 4 channels
- 200MHz bandwith
Remote control via LAN
- port 1861
- LeCroy VICP protocol
6,5 DMM
www.amt.cz
Siglent SDM 3065X
- one-year 0,0035% accuracy (on 2DCV range)
- 4,3“ display
- USB, LAN/LXI
- USB host
- EasyDMM SW
- price w/ DPH: 22 506,- eshop.merici-pristroje.cz 21 676,-
Keysight (Agilent) 34461A
- one-year 0,0035% accuracy (on 10DCV range)
- front & rear input terminals
- 4,3” display
- USB, LAN/LXI
- USB host
- BenchVue SW
- price w/ DPH: 31 823,- Farnell 30 202,- Micronix 31 212,-
- 3-year warranty
Farnell
Keysight (Agilent) 34465A
- one-year 0,0030% accuracy (on 10DCV range)
- front & rear input terminals
- 4,3” display
- USB, LAN/LXI
- USB host
- BenchVue SW
- price w/ DPH: 39 711,- Empos 38 163,- Distrelec € 1469,-
- 3-year warranty
Keithley DMM6500
- one-year 0,0025% accuracy, two-year 0,0030% accuracy (on 1DCV, 10DCV ranges)
- front & rear inputs (selected via front pushbutton)
- 5“ touchscreen display
- USB-TMC 2.0, LAN/LXI (optional RS232, GPIB)
- USB host (flash disk FAT32)
- user access to current protection fuse
- free KickStart SW
- 29 519,- (w/ DPH)
- 3-year warranty
Micronix
RIGOL DM 3068
- one-year 0,0035% accuracy (2DCV range)
- only front input terminals
- LCD mono display 256×64
- USB, LAN/LXI, RS232, GPIB
- USB host
- Ultra Sensor SW
- price w/ DPH: 22 414,- Empos 23 670,-
Fluke 8845A/8846A
- one-year 0,0035%/0,0024% accuracy (10VDC range)
- only front input terminals
- LAN/LXI, RS232, GPIB, USB (8846A only)
- USB host
- price w/ DPH: 34 310,-/45 052,- Farnell 32 937,-/43 657,- Empos 33 505,-/-
GW Instek GDM 8261A
- one-year 0,0035% accuracy (1DCV range)
- dual measurement vacuum fluorescent display
- USB, RS232 (optionally LAN, GPIB)
- price w/ DPH: 25 703,-
- 3-year warranty