visa

pyVISA: Return instrument to local mode programmatically

半腔热情 提交于 2019-12-07 17:07:35
问题 I am using pyVISA to control some instruments in a GPIB network. When I create a resource manager, all the instruments in my GPIB network enter remote mode, so the front panel displays are locked and do not update. When I close the resource manager, the instruments remain in remote mode. import visa rm = visa.ResourceManager() #Connect to a specific instrument MyInstrument = rm.open_resource('GPIB0::10::INSTR') #Do stuff print(MyInstrument.query("*IDN?")) #close resource manager rm.close() In

pyVISA: Return instrument to local mode programmatically

人走茶凉 提交于 2019-12-05 19:31:38
I am using pyVISA to control some instruments in a GPIB network. When I create a resource manager, all the instruments in my GPIB network enter remote mode, so the front panel displays are locked and do not update. When I close the resource manager, the instruments remain in remote mode. import visa rm = visa.ResourceManager() #Connect to a specific instrument MyInstrument = rm.open_resource('GPIB0::10::INSTR') #Do stuff print(MyInstrument.query("*IDN?")) #close resource manager rm.close() In this particular case I only want to control one instrument in the network, but need the others to be

NI VISA + pyVisa on Mac OS X (Snow Leopard)

╄→尐↘猪︶ㄣ 提交于 2019-12-05 00:16:36
问题 Has anyone had success running pyVisa on Snow Leopard with a NI GPIB module? Based on all of the forums I have read on NI's website, it does not appear that the combination of NI VISA and pyVisa can be done on Max OS X. The troubling part is that NI website has the NI VISA support listed for Mac OS X. However in their support pages, they do not list OS X as a supported OS. Any comments or help would be greatly appreciated as I would really like to get away from having to use Windows to do

NI VISA + pyVisa on Mac OS X (Snow Leopard)

风格不统一 提交于 2019-12-03 15:38:15
Has anyone had success running pyVisa on Snow Leopard with a NI GPIB module? Based on all of the forums I have read on NI's website, it does not appear that the combination of NI VISA and pyVisa can be done on Max OS X. The troubling part is that NI website has the NI VISA support listed for Mac OS X . However in their support pages, they do not list OS X as a supported OS. Any comments or help would be greatly appreciated as I would really like to get away from having to use Windows to do this software development as well as allow cross platform support. It turns out that NI-VISA 5.0 works