〇標準インストール以外で必要なライブラリ
pyvisa
$ pip install pyvisaでインストール可能

pyvisa-py
$ pip install pyvisa-pyでインストール可能


〇動作例
C:\SampleProgram\Python 3.7.2\VISA_Sample>python main.py
Resource Manager of Visa Library at C:\WINDOWS\system32\visa32.dll
VISA Address? (View resources with no input)

Searching For Resources ...
('ASRL1::INSTR', 'ASRL2::INSTR', 'ASRL100::INSTR', 'ASRL101::INSTR')
VISA Address? (View resources with no input)
ASRL1::INSTR
Please enter the command (Exit with no input)
*IDN?
HIOKI,IM3536,140934871,V1.05
Please enter the command (Exit with no input)


C:\SampleProgram\Python 3.7.2\VISA_Sample>