Author Topic: Raspberry Pi, Python and NI-VISA  (Read 9785 times)

0 Members and 1 Guest are viewing this topic.

Offline KSPTopic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: gb
Raspberry Pi, Python and NI-VISA
« on: April 14, 2016, 12:27:19 pm »
I'm looking to create a small GPIB controller using my RPi. My problem is the pyVISA library requires the NI-VISA backend, which apparently is not compatible with the ARM processor. Is this still the case, or have I been reading outdated info? FYI I have not actually tried it yet as my Pi hasn't arrived.

I found a 'pure python' backend called pyVISA-py which replaces the NI one, but so far this does not have GPIB support, only serial, USB and LAN.

I did ask this on the NI community but got pretty much a fat load of F-all
 

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 694
Re: Raspberry Pi, Python and NI-VISA
« Reply #1 on: April 15, 2016, 04:23:38 am »
This could be useful for a lot of legacy devices! keep us posted!

Can you drive GPIB IO lines directly from the PI IO pins? Or what level-translator/buffer is required?

What is the availability and price of GPIB connectors?
 

Offline lwatts666

  • Supporter
  • ****
  • Posts: 77
  • Country: au
 

Offline KSPTopic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: gb
Re: Raspberry Pi, Python and NI-VISA
« Reply #3 on: April 15, 2016, 09:33:15 am »
Thanks for this, it looks pretty useful. One of the comments on that thread states that pyVISA and pyVISA-py are all that are required to use the GPIB-USB-HS adaptor. But a previous article said this method didn't yet support GPIB. Is this method therefore recognising the adaptor as a USB device? Which would make sense I guess
 

Offline TiN

  • Super Contributor
  • ***
  • Posts: 4543
  • Country: ua
    • xDevs.com
Re: Raspberry Pi, Python and NI-VISA
« Reply #4 on: April 15, 2016, 03:53:58 pm »
Nice to see my article linked :) I had it bit simplified the setup flow on my site.
I remember I tried VISA on Pi before (old one Wheezy) and it was working, but it was clumbersome so I use linux-gpib + python instead.
YouTube | Metrology IRC Chat room | Let's share T&M documentation? Upload! No upload limits for firmwares, photos, files.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf