pyvisa
————开始----
$ pyvisa-scan Found Resource Manager implementation: <@py> ASRL1::INSTR ASRL2::INSTR GPIB0::9::INSTR $ pyvisa-scan ASRL1::INSTR --interactive >>> help ... >>> *IDN? ...
--查看一共有多少个command
$ pyvisa-scan ASRL1::INSTR --command "*IDN?" import visa rm = visa.ResourceManager() inst = rm.open_resource("ASRL1::INSTR") inst.write("*IDN?") response = inst.read() print(response) inst.close()
浙公网安备 33010602011771号