Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4332028
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:11:54+00:00 2026-05-21T10:11:54+00:00

Has anyone had success running pyVisa on Snow Leopard with a NI GPIB module?

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T10:11:55+00:00Added an answer on May 21, 2026 at 10:11 am

    It turns out that NI-VISA 5.0 works well on 10.6.6.

    The issue I was having was when calling pyVisa’s visa.Instrument(“GPIB::1”) it said the library was not found. However when calling visa.get_instruments_list() displayed my GPIB adapter as GPIB0. Using this as the device I was able to connect properly.

    There were a few changes that I had to make that were not documented well on NI’s site (that I could find at least) in order to accomplish this. The most important being the name of the VISA library that NI-VISA 5.0 installs. It is found at /Library/Frameworks/Visa.framework/VISA. I have not tried modifying the nsi file to automatically link to this library as the pyVisa documentation mentions.

    I have been unable to install pyvisa with pip. I had to use easy_install. If anyone has had success installing pyvisa with pip, I would really like to know how!

    System Settings:

    Python 2.7 running virutalenv + virtualenvwrapper. Snow Leopard 10.6.6. NI-VISA 5.0

    Sample Code:

    from pyvisa.vpp43 import visa_library
    visa_library.load_library("/Library/Frameworks/Visa.framework/VISA")
    import visa
    visa.get_instruments_list() # Yields: ['ASRL1', 'ASRL2', 'ASRL3', 'ASRL4', 'GPIB0::1']
    temp = visa.Instrument("GPIB0::1")
    print temp # Yeilds: Instrument("GPIB0::1::INSTR")
    

    Update:
    After moving to Lion I have found the same issues and have had to load the library manually each time. This makes me think I’m missing something.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone had any success in getting Webistrano running on Windows. Everywhere I have
Has anyone had any success running two different web servers -- such as Apache
Has anyone had success in debugging a 64 bit dll by running/attaching to a
Has anyone had success automating testing directly on embedded hardware? Specifically, I am thinking
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
Has anyone had success using a recent version of ZXing under C#? I'm attempting
Has anyone had success making an msbuild file that will publish a Web Application,
Folks: Has anyone had success connecting to a Progress-4GL database with Delphi ?  
I am planning on incorporating JQuery UI into my application; has anyone had success
Just wondering if anyone here has had success building GHC 7.2.1 on OpenSuSE. I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.