Live data from Hacker News

Open source USB to GPIB converter (for Test and Measurement instruments)

github.com

41–48 of 48 posts

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#41

I wish AVR DU series had any sort of open source support, we could finally move on from 32U4. https://www.microchip.com/en-us/products/microcontrollers/8-...

The step to go to ARM or risc v based controllers is easy. That's what I did with V3. Gives a tremendous performance boost and costs 1/2 of that old AVR.

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#42
post #27

I cut my teeth on IEE-488. I didn’t realize that it was still a thing.

I finished my Master's a couple years ago, and in our IC probing lab, it was almost all GPIB. All of the pieces of test equipment, except for a single cutting-edge Keysight scope (which used Ethernet instead), were connected together via those chunky but satisfying and robust cables, usually controlled via MATLAB or some other IC measurement software package.

Yes, those cables are often called "garden hose cables". The only benefit of that bus infrastructure under a nowadays view is that it gives the ability to synchronously trigger multple instruments which is very rarely used or required.

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#43

I cut my teeth on IEE-488. I didn’t realize that it was still a thing.

I've worked places where the paperwork to hook something up via Ethernet drove us to use GPIB or RS485 for everything.

I know that very well. Ethernet=security concern. Connecting your shiny new scope to company network=no way. Hard to discuss arround it in company environments or push for split network topologies.

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#44

Ooooo, and it supports secondary addressing? NONE of the low-cost interfaces support secondary addressing! (At least last time I looked around!) That's a big deal for those of us with R&S CMU200's / CRTU's, which require secondary addressing to make it act like a spec-an with tracking generator. And I see that in your list of tested equipment! Fantastic. And the price of prebuilt units is super reasonable. I'm in.

As I have a CMU200 myself I was majorly interested in getting it to work too :-)

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#45
post #39

If you control your application stack, you can pivot from expensive NI GPIB hardware to something cheaper. Besides prices, you get the advantage of not requiring a 1.5GB Windows-only NI MAX install on a PC just to connect to the device. Since I hadn't heard of open source hardware, I bought 5 of these [0] instead around 2020 and they've been reliable for daily lab use. You just connect to them over TCP and send a cou…

A good way around application overloaded applocation stacks is R&S Visa which is lean and mean while still exposing full visa to applocations like labview. Or going with something like python usbtmc. If you also have other instruments to control e.g. with usb or ethernet you'll likely anyway look into a visa.

Works even well on Mac and Raspberry PI btw :-)

Actually world would need an open source visa stack. Right now you find many applications doing their own thing, but then not supporting vxi11, hislip or usbtmc. Visa is something which solved that problem for years already but the most standard package NI Visa is overloaded and scaring people away. For that reason I propagate the usefulness of R&S Visa a lot. Lean and mean, supporting all OS and procotocols as it is supposed to be.

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#46
post #21

I cut my teeth on IEE-488. I didn’t realize that it was still a thing.

Linux mainline kernel just had support for GPIB added. https://hackaday.com/2025/12/16/after-decades-linux-finally-...

Linux gpib also supports my adapter natively with a special linux gpib firmware you can download from the page above. It also supports multiple instruments connected to one adapter then.

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#47
post #11
post #10

Earlier quoted context omitted.

Here a comparison from a user: https://github.com/xyphro/UsbGpib/discussions/47

Ooh! The faster speeds would be very welcome, I was bothered by the slowness of the AR488 but I assumed that was just how GPIB was (I had no baseline to compare to). I'll switch over when I get a chance. That user's project also looks very interesting - My TDS684A's CRT seems to have died, and rather than fix it I could switch to using a software scope.

HPIB/GPIB itself should be reasonably fast, I think NI had some later revisions that were even faster. If I had to guess there will be two big hardware bottlenecks with the open source dongles: almost all of the 8-bit and cheaper ARM boards only do USB FS (12 Mbps, so 1MByte is pushing it) and most of those boards don't have any hardware acceleration for managing a parallel bus like GPIB. Even switching up to a Mega/Due form factor means you could potentially read the status and entire data byte in one read.

FWIW I'm working on a buzzword compliant stack for ARM MCUs interleaved with writing some HALs for Embassy. It'll be interesting to see how it compares. While I'm waiting on a replacement Chinese clone I decided to order a few more boards (Atmel, NXP, Renesas, STM), level shifters, transceivers, and whatnot from DigiKey to play around with.

Re: Open source USB to GPIB converter (for Test and Measurement instruments)

#48
post #41

I wish AVR DU series had any sort of open source support, we could finally move on from 32U4. https://www.microchip.com/en-us/products/microcontrollers/8-...

The step to go to ARM or risc v based controllers is easy. That's what I did with V3. Gives a tremendous performance boost and costs 1/2 of that old AVR.

I'm curious what MCU you landed on, but also a suggestion. If you could move the pictures to a different repo (or branch at least) that would make much easier to download. Even now a shallow clone takes ≈20 MB.
Post reply on HN