DM3058手册中说其最快的测量速率可以每秒123readings(即rdgs/s)
操作如下:
1,在utility中切换指令集到"FLUKE 45"
2,要测量电流,就把界面切换到电流档位模式
python程序:
#author:lailai
import time
import pyvisa as visa
usb_addr = 'USB0::6833::2500::DM3L203900455::0::INSTR'
rm = visa.ResourceManager('C:/Windows/System32/visa32.dll')
rm.list_resources()
usb_inst = rm.open_resource(usb_addr)
# usb_inst.timeout = 10000
print(usb_inst.query('*IDN?'))
usb_inst.write('RATE F')
print(usb_inst.query('RATE?'))
file = open('record.txt', 'w')
a = time.time()
for i in range(500):
file.write("%.9f\n" % (float(usb_inst.query("MEAS1?"))))
print(time.time()-a)
file.close()
# inst_wyb = visa.ResourceManager('C:/Windows/System32/visa32.dll').open_resource('GPIB0::22::INSTR')