It turns out that NI-VISA 5.0 works well on 10.6.6.
The problem I ran into was calling pyVisa visa.Instrument ("GPIB :: 1"), which said that the library was not found. However, when calling visa.get_instruments_list (), my GPIB adapter displayed as GPIB0. Using this as a device, I was able to connect correctly.
There were a few changes that I had to make that were not well documented on the NI website (which I could find at least) to do this. Most important is the name of the VISA library that NI-VISA 5.0 installs. He is in /Library/Frameworks/Visa.framework/VISA. I have not tried modifying the nsi file to automatically link to this library, as the pyVisa documentation mentions.
pyvisa pip. easy_install. - pyvisa , , !
:
Python 2.7 virutalenv + virtualenvwrapper. 10.6.6. NI-VISA 5.0
:
from pyvisa.vpp43 import visa_library
visa_library.load_library("/Library/Frameworks/Visa.framework/VISA")
import visa
visa.get_instruments_list()
temp = visa.Instrument("GPIB0::1")
print temp
:
Lion . , - .