Author Topic: Low cost GPIB (IEEE-488) USB or ethernet adaptors  (Read 5238 times)

0 Members and 1 Guest are viewing this topic.

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Low cost GPIB (IEEE-488) USB or ethernet adaptors
« on: March 29, 2018, 01:53:40 pm »
I just got an HP 3478A and went looking for a GPIB adaptor only to discover that all the available adaptors cost about $150 which is more than the meter did.

I found that Dangerous Prototypes did several iterations of one 4 years ago, but can find little additional information.  It does not appear to be offered for sale anywhere.  Does anyone know anything about it?  I'd have thought it would be a popular product.

Are there alternatives to the Prologix and HP-Agilent-Keysight devices?

 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19497
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #1 on: March 29, 2018, 02:04:41 pm »
I just got an HP 3478A and went looking for a GPIB adaptor only to discover that all the available adaptors cost about $150 which is more than the meter did.

I found that Dangerous Prototypes did several iterations of one 4 years ago, but can find little additional information.  It does not appear to be offered for sale anywhere.  Does anyone know anything about it?  I'd have thought it would be a popular product.

Are there alternatives to the Prologix and HP-Agilent-Keysight devices?

There's a lot of information available on this very forum! If that doesn't answer your question, let us know what more information you need.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #2 on: March 29, 2018, 02:12:43 pm »
I used the forum search which appears not to be very good.

I shall also be looking more closely at links posted here.
 

Offline TiN

  • Super Contributor
  • ***
  • Posts: 4543
  • Country: ua
    • xDevs.com
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #3 on: March 29, 2018, 02:33:11 pm »
I had grim luck with clone of Agilent dongle (with linux-gpib library) and switched all my GPIB rigs to NI USB-GPIB-HS dongles, not having issue since. Some of USB-GPIB-HS dongles go under 150$ on bay from time to time, well worth the trouble and days not wasted on troubleshooting communication issues.
YouTube | Metrology IRC Chat room | Let's share T&M documentation? Upload! No upload limits for firmwares, photos, files.
 

Offline Tony_G

  • Frequent Contributor
  • **
  • Posts: 912
  • Country: us
  • Checkout my old test gear channel (link in sig)
    • TGSoapbox
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #4 on: March 29, 2018, 03:01:04 pm »
You need to answer the question "Will I need access to VISA libraries?" first as that will tell you if you need a HPAK/NI adapter or not. If using applications, like labView, that expect the APIs to work is important then you just need to find the cheapest HPAK/NI adapter you can - I've used 82357B clones from eBay, an old Agilent E5810A, National Instruments GPIB-232C, NI GPIB-ENET and my current one a NI GPIB-ENET/100.

If you don't need that API layer then the Prologix is a great choice and you can often find cheap ICS ones on eBay.

The alternative is to build your own using an Arduino.

More info here https://www.eevblog.com/forum/testgear/gpib-interface-(ieee488)/

TonyG

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #5 on: March 29, 2018, 03:32:36 pm »
I just want very rudimentary command line control.  Very strangely when I did a search on the LQ Electronics UG01 all I found was Prologix and Keysight devices (or fakes).  When I searched for  Prologix devices I found  UGsimple and UGplus listings.

All  want to do is R/W calibration data and log data monitoring some voltage references and resistors using an HP3478A.

Is the UGplus  a viable choice for this?  Intent is to use an MCU to control relays to select the 3478A DUT and some environmental sensors connected to the MCU ADC.  To simplify things I will probably use a BeagleBone Black to log to a flash drive.
 

Offline Tony_G

  • Frequent Contributor
  • **
  • Posts: 912
  • Country: us
  • Checkout my old test gear channel (link in sig)
    • TGSoapbox
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #6 on: March 29, 2018, 03:46:17 pm »
I've never used the UGPlus but it seems to be able to do the basic control stuff you're after (you might need to modify the code to work with the calibration data though but then again if it is just GPIB command R/Ws most likely not).

As for hacking the microcontroller to do other stuff, I think you'd be better off just buying a new one.

TonyG

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #7 on: March 29, 2018, 03:55:16 pm »

As for hacking the microcontroller to do other stuff, I think you'd be better off just buying a new one.


Hack what?  New what?  I just want to automate some data acquisition, but don't want to devote a PC to it.
 

Offline Tony_G

  • Frequent Contributor
  • **
  • Posts: 912
  • Country: us
  • Checkout my old test gear channel (link in sig)
    • TGSoapbox
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #8 on: March 29, 2018, 04:31:54 pm »
Is the UGplus  a viable choice for this?  Intent is to use an MCU to control relays to select the 3478A DUT and some environmental sensors connected to the MCU ADC.  To simplify things I will probably use a BeagleBone Black to log to a flash drive.

I read this as modifying the microcontroller in the GPIB device to do the control as a lot of these low cost adapters simply a GPIB & uC IC.

TonyG

Offline RandallMcRee

  • Frequent Contributor
  • **
  • Posts: 541
  • Country: us
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #9 on: March 29, 2018, 04:54:10 pm »
UGPlus is on ebay....did you search there?

eBay auction: #https://www.ebay.com/itm/UGPlus-USB-to-GPIB-Controller-Made-in-USA/172082405115?epid=1776118937&hash=item2810e91efb:g:wpYAAOSwRQlXeez3

I have one and it works fine with its own PC tool but is not as amenable to programming as, say, the Prologix--which I also have. I could not get their DLLs to work with Java (my choice of programming language). If you are not using a PC then DLLs are not going to work for you, either.

Prologix on ebay:

eBay auction: #https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2047675.m570.l1313.TR0.TRC0.H0.Xprologix+gpib.TRS0&_nkw=prologix+gpib&_sacat=0
 

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #10 on: March 29, 2018, 05:49:13 pm »
I did search on eBay.  It's just that rather than showing me what I was looking for it would show me something else.   That was with google searching ebay.com.  The ebay search was even more useless.  Instead of "ug01 gpib usb adaptor" I got car parts"

BTW The Prologix link you posted failed.

I've observed that google has become very hit or miss.  A search repeated a few days later will produce different results.  So I've got very meticulous about downloading papers and other documentation rather than depend on finding it again.  Something in the first two pages may be 6+ pages in the next time.

Is the UGPlus interface a GUI?  If there's not a command line interface I can't program it via expect.
 

Offline nfmax

  • Super Contributor
  • ***
  • Posts: 1560
  • Country: gb
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #11 on: March 29, 2018, 06:21:54 pm »
I use a genuine Agilent USB adapter, which I found on eBay from a UK seller before the flood of Chinese counterfeits arrived. I use the Keysight IO libraries - yes I know it's hundreds of megabytes, but frankly disc space is just not an issue these day. It provides a full VISA library, and I use the pyvisa Python package to talk to that. It's easy to create simple scripts, and it also gives me a reason to learn Python properly for more complicated tasks.

I've just written a program that takes a data value, calculates and adds the CRC, Manchester-encodes it, creates corresponding waveform data and filters it, then uploads it to my ARB, which I use to FM modulate my RF signal generator. From a keypress I can turn on the RF, send the modulating waveform, and turn the RF off again. This simulates a data message from a mains power monitor (so I can configure a 434 MHz receiver module to receive it). All good clean fun!

I have also used the NI USB adapter, NI VISA library, and C# to build a data logging/control application. That worked OK too.

I would be inclined to avoid the cheaper adapters that don't come with VISA (or linux-gpib) support.
 

Offline nfmax

  • Super Contributor
  • ***
  • Posts: 1560
  • Country: gb
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #12 on: March 30, 2018, 08:59:40 am »
@rhb - if all you want to do is to log data, and you don't need to change the measurement type or range* between readings, then it should be possible to do without a GPIB adapter entirely. The 3478A can be put into 'talk only' mode by setting the rear panel DIP-switches appropriately: in this mode, it sends each measurement to the GPIB interface as soon as it is made, without having to be addressed by a bus controller. All you have to do is implement the 3-wire handshake (a trivial state machine) to read successive data bytes from the 8 data lines, and monitor the EOI line to identify the last byte of each reading. You should use the external trigger mode, driving the DVM external trigger input from a microcontroller IO pin, to control the timing of the measurements.

Any microcontroller with 5V tolerant IO should be usable, or a suitable level shifter to 3V3 logic. You will need to add pull up resistors, and use or simulate 'open-collector' drivers for the handshake lines.

You can extend this to multiple channels, again providing the measurement type is the same for each, by using the voltmeter complete output from the DVM as an input to your microcontroller to tell it it can select the next input channel.

*The fixed 'range' can of course be 'autorange' if you don't mind the reduction in measurement speed
 

Offline DC1MC

  • Super Contributor
  • ***
  • Posts: 1882
  • Country: de
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #13 on: March 30, 2018, 09:18:36 am »
I just got an HP 3478A and went looking for a GPIB adaptor only to discover that all the available adaptors cost about $150 which is more than the meter did.

I found that Dangerous Prototypes did several iterations of one 4 years ago, but can find little additional information.  It does not appear to be offered for sale anywhere.  Does anyone know anything about it?  I'd have thought it would be a popular product.

Are there alternatives to the Prologix and HP-Agilent-Keysight devices?

Some while ago I needed a cheap GPIB adapter to send calibration commands to my Solartron 7150.
User @Fortran recommended this:
http://dalton.ax/gpib/

And sold me 2 PCB for a very acceptable price. The components and assembly are cheap and easy and it works. If you just need it for access and no fancy VISA / NI stuff, than I think it's a nice proven adapter.

 Cheers,
 DC1MC
 

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3483
  • Country: us
Re: Low cost GPIB (IEEE-488) USB or ethernet adaptors
« Reply #14 on: March 30, 2018, 03:25:04 pm »
Thanks.  I don't have a PIC programmer, which adds some overhead cost.  I'm leaning at the moment towards a UGPlus for $40.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf