Info = self.resource_info(resource_name, extended=True)įile "c:\users\nanotube\appdata\local\programs\python\python36\lib\site-packages\pyvisa\highlevel.py", line 1583, in resource_info I tried to connect directly: rm.open_resource('GPIB0::10::INSTR')īut I got an IO error: Traceback (most recent call last):įile "c:\users\nanotube\appdata\local\programs\python\python36\lib\site-packages\pyvisa\highlevel.py", line 1623, in open_resource The output is: ('USB0::0x1313::0x8078::P0003982::INSTR', 'ASRL1::INSTR', 'ASR元::INSTR', 'ASRL6::INSTR')Īs you can see, the PM100D connected by USB is correctly listed, but not the Agilent connected on GPIB 10. However, I cannot connect to it using PyVISA. The instrument is correctly listed when I use NIMAX explorer (there is also a Thorlabs PM100D connected by USB): I'm trying to communicate with an instrument (Agilent 33220A arbitrary waveform generator) using GPIB and I use the GPIB-USB-HS interface plugged into a USB port on my computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |