pyVISA: Return instrument to local mode programmatically

人走茶凉 提交于 2019-12-05 19:31:38

There is a call available to control the remote/local state of the device.

GPIBInstrument.control_ren(mode)

Controls the state of the GPIB Remote Enable (REN) interface line, and optionally the remote/local state of the device.

Corresponds to viGpibControlREN function of the VISA library.

(Source)

Most Instruments have remote and local commands. Visa also has its own set local command, which looks like viGpibControlREN( handle, VI_GPIB_REN_ADDRESS_GTL ) in c. You'd have to read the manuals for the equipment to be sure, but their individual visa commands are usually something like "SYST:LOC"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!