Products > Test Equipment

open source GPIB adapter

<< < (17/42) > >>

deepfryed:
I'm using xyphro’s UsbGpib adapter on Linux (Debian) and it works perfectly fine as a usbtmc interface. I haven't used it with any NI / proprietary tools and wrote some python using python-usbtmc  https://github.com/python-ivi/python-usbtmc

The python-usbtmc project has a udev rules sample file, I updated it to use the vendor id for the usbtmc device and update the group to dialout. So no need to run things as root. If I need to add some real time graphing, I can use python's matplotlib.

e.g.


#!/usr/bin/python3

import usbtmc
import time

# DMM 34401A
instr = usbtmc.Instrument(0x03eb, 0x1041)
print(instr.ask("*IDN?"))
print(instr.ask("SYST:ERR?"))
print(instr.ask("MEAS:VOLT:DC?"))

dazz1:

--- Quote from: deepfryed on July 05, 2023, 08:57:13 am ---I'm using xyphro’s UsbGpib adapter on Linux (Debian) and it works perfectly fine as a usbtmc interface. I haven't used it with any NI / proprietary tools and wrote some python using python-usbtmc  https://github.com/python-ivi/python-usbtmc


--- End quote ---

I haven't even begun to look at code but I will definitely bookmark that link.  I will need to start by learning Python.

dragon5:
Check the gpib4pi board released in 2023. It provides GPIB interface solution based on linux-gpib toolchain and its bitbang driver. It is 100% open-source  hardware (OSHWA certified NO000003 - https://certification.oshwa.org/no000003.html ). It has a standard IEEE-488 compliant SN75160/1 drivers. You can set up a wireless LAN/GPIB gateway with a Raspberry Pi Zero W described in this application note https://www.hackster.io/lightside-instruments/wireless-lan-gpib-gateway-with-open-source-hardware-6e0af8

dazz1:

--- Quote from: dragon5 on September 13, 2023, 10:58:03 am ---Check the gpib4pi board released in 2023. It provides GPIB interface solution based on linux-gpib toolchain and its bitbang driver. It is 100% open-source  hardware (OSHWA certified NO000003 - https://certification.oshwa.org/no000003.html ). It has a standard IEEE-488 compliant SN75160/1 drivers. You can set up a wireless LAN/GPIB gateway with a Raspberry Pi Zero W described in this application note https://www.hackster.io/lightside-instruments/wireless-lan-gpib-gateway-with-open-source-hardware-6e0af8


--- End quote ---

Hi
I am committed to the USB-GPIB adapter.  I have modified the pcb design (twice) and figured out what software mods I need to make for my two LED version.  The pcbs and parts are waiting for me to put them together. 


artag:

--- Quote from: rhb on July 04, 2023, 08:59:00 pm ---Out of curiosity, what about the AR488 by WaveyDipole?  Why would you not use that and the Uno R3 shield @artag designed so you can plug a 24 pin IDC cable on into the shield and attach up to 10 GPIB devices using IDC Centronics coonnectors.

There is a very long thread about it on this forum.

In any case, the price of name brand GPIB adapters that aren't fakes is ridiculous.  So another design is always useful.  Thank you.

Have Fun!
Reg

--- End quote ---

The initial question in this thread was to find an adapter which can be accessed through the Visa API. The AR488 doesn't do that - it emulates the  Prologix USB adapter, which communicates over a serial-over-USB emulation.

I guess it's possible to write a Visa interface for Prologix but I don't know that anyone's done that. Or modify the python interface to use Prologix instead of Visa, but then you end up with a Python API which is another ratsnest of incompatibility.

It's also possible, with some reassignment of pins, to make the xyphro software work with AR488 hardware. However, the xyphro software makes better use of the Atmega's pins : some are not available on the Arduino boards which results in inefficiences such as having to bit-address some ports instead of byte-address. IIRC I laid out the Arduino Pro Micro pcb to work as well as possible (eg write the 8 bit data port in only two writes) but the original xyphro assignment is better.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod