Keysight U1401B and Escort 2030 are process calibrators and multimeters in one device.
Using the infrared serial-USB connection and SCPI commands VOLT CURR and OUTP we can set
the sourcing (output) voltage, current and switch from standby mode to active and vice versa.
The rotary switch should be in appropriate position.
Here some the Python2 code snippets:
Setting output voltage to 1.5 V and query voltage: dmm.write("VOLT +01.500\r\n") time.sleep(0.1) dmm.write("VOLT?\r\n") datav = dmm.readline()[:-2] v = round(float(datav), 5) Setting output current to 12 mA and query current dmm.write("CURR +12.000\r\n") time.sleep(0.1) dmm.write("CURR?\r\n") datav = dmm.readline()[:-2] v = round(float(datav), 5) Testing output state: dmm.write('OUTP?\r\n') out = dmm.readline()[:-2] if out != '1': print 'standby' Switching output to active; dmm.write('OUTP ON\r\n') time.sleep(0.5) Switching output to standby; dmm.write('OUTP OFF\r\n') time.sleep(0.5)