嗨,我有问题尝试使用PYVISA(SCPI命令)获取VNA E5071C的转储图像下面是我的代码:import visa rm = visa.ResourceManager()myvna = rm.open_resource(rm.list_resources()[0
])打印myvna.write(mmem:stor:imag“”D:picture.png“”“)我尝试了几个实例,如大写,小写,单引号等。前三个命令有效(我正在使用)
shell一次输入一个命令)我知道我正在与正确的设备通话。我可以将文件从VNA(手动转储图像)传输到主机,但出于某种原因我无法接受
VNA的转储图片。请帮助。感谢编辑:rudy022于2015年10月1日5:07 AM编辑:rudy022于2015年10月1日上午5:13
以上来自于谷歌翻译
以下为原文
Hi,
I'm having issues trying to take a dump image of the VNA E5071C using PYVISA (SCPI commands)
Below is my code:
import visa
rm = visa.ResourceManager()
myvna = rm.open_resource(rm.list_resources()[0])
print myvna.write (mmem:stor:imag ""D:picture.png""")
I tried several instances such as upper case, lower case, single quotes, etc. The first three commands work (I'm using shell to enter one command at a
time) and I know I'm talking to the right device.
I can transfer files from the VNA (a dump image taken manually) to the host computer, but for some reason I can't take the dump image of the VNA. Please help.
Thanks
Edited by: rudy022 on Oct 1, 2015 5:07 AM
Edited by: rudy022 on Oct 1, 2015 5:13 AM