Author Topic: Release of the "HP8753 Companion" program  (Read 1183 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael-VK2BEA

  • Contributor
  • Posts: 27
  • Country: us
Release of the "HP8753 Companion" program
« on: June 29, 2022, 07:11:24 pm »
Hello EEVbloggers....

I have written and released a program for use with the HP8753 vector network analyzer.
It communicates with the analyzer (naturally) over the HPIB using the Linux GPIB driver (but is likely to work with the NI driver/library also).

The program facilitates the saving and restoration of configuration and setup profiles.
It also retrieves, displays and prints the traces, trace data and markers.
 
I hope other Linux users (who have an HP8753 ... both of you) may find it useful.
 
A brief description video shows it's operation: https://youtu.be/ORWQE22tbRo
 
The program is freely available (Apache 2.0 licence) from  https://github.com/VK2BEA/HP8753-Companion
and https://copr.fedorainfracloud.org/coprs/vk2bea/HP8753/

On Fedora Linux, install with:
$ sudo dnf copr enable vk2bea/HP8753
$ sudo dnf copr enable vk2bea/GPIB
$ sudo dnf install hp8753

 
On the Raspberry Pi, use the autotools instructions to build and install (in the [README.md file)

If you have suggestions for enhancements or if you find bugs, please let me know on Github.

thanks,
   Michael
« Last Edit: June 29, 2022, 07:14:20 pm by Michael-VK2BEA »
 
The following users thanked this post: swingbyte1, xrunner, syau, DrNefario

Offline Tony_G

  • Frequent Contributor
  • **
  • Posts: 713
  • Country: us
  • Checkout my old test gear channel (link in sig)
    • TGSoapbox
Re: Release of the "HP8753 Companion" program
« Reply #1 on: June 29, 2022, 09:31:40 pm »
This looks excellent - congrats on the work.

Do you happen to know if there is a Linux GPIB driver that supports the NI GPIB-ENET/100? I was looking at the drivers and your install script and it seems to be focused/predicated on having a physical adapter in the machine and NI has removed all the 488.2 drivers of 17.6 and earlier which is needed to support the GPIB-ENET/100.

Thanks,

TonyG

Offline Michael-VK2BEA

  • Contributor
  • Posts: 27
  • Country: us
Re: Release of the "HP8753 Companion" program
« Reply #2 on: June 30, 2022, 02:46:07 pm »
The program just uses the Linux or NI GPIB library calls. The actual hardware is an abstraction that the driver handles. I'm using a USB connected Keysight dongle for example so you don't need a card in the machine - just a supported device.
It looks as if the ENET device is not one of the controllers that the Linux GPIB driver handles. You may be out of luck if even NI has abandoned it.

Michael
 

Offline DrNefario

  • Contributor
  • Posts: 14
  • Country: us
Re: Release of the "HP8753 Companion" program
« Reply #3 on: July 19, 2022, 12:06:54 pm »
After several attempts getting it to work on Linux Mint, I installed Fedora Cinnamon and finally got it working.
I have an HP 82350b card so I had to manually edit the gpib.conf file.  It took a while to figure out what the board_type would accept.
Fedora is new to me (not a SW guy) and I will offer the following gpib.conf that works:
Code: [Select]
interface {
    minor = 0    /* board index, minor = 0 uses /dev/gpib0, minor = 1 uses /dev/gpib1, etc. */
    board_type = "agilent_82350b"    /* type of interface board being used */
    name = "PCI_gpib"    /* optional name, allows you to get a board descriptor using ibfind() */
    pad = 0    /* primary address of interface             */
    sad = 0    /* secondary address of interface           */
    timeout = T3s    /* timeout for commands */

    eos = 0x0a    /* EOS Byte, 0xa is newline and 0xd is carriage return */
    set-reos = yes    /* Terminate read if EOS */
    set-bin = no    /* Compare EOS 8-bit */
    set-xeos = no    /* Assert EOI whenever EOS byte is sent */
    set-eot = yes    /* Assert EOI with last byte on writes */

/* settings for boards that lack plug-n-play capability */
    base = 0    /* Base io ADDRESS                  */
    irq  = 0    /* Interrupt request level */
    dma  = 0    /* DMA channel (zero disables)      */

/* pci_bus and pci_slot can be used to distinguish two pci boards supported by the same driver */
/*    pci_bus = 0 */
/*    pci_slot = 7 */

    master = yes    /* interface board is system controller */
}

device {
minor = 0
name = "8753c"
pad = 16
}

This is great and I thank you for posting it.
 

Offline Michael-VK2BEA

  • Contributor
  • Posts: 27
  • Country: us
Re: Release of the "HP8753 Companion" program
« Reply #4 on: July 19, 2022, 11:00:48 pm »
After several attempts getting it to work on Linux Mint, I installed Fedora Cinnamon and finally got it working.
I have an HP 82350b card so I had to manually edit the gpib.conf file.  It took a while to figure out what the board_type would accept.
Fedora is new to me (not a SW guy) and I will offer the following gpib.conf that works:

Glad you got it running.
The board types are listed here.... https://linux-gpib.sourceforge.io/doc_html/supported-hardware.html
You can optionally use the board number and 8753 GPIB address and not bother with gpib.conf. (the board ID for the first card will be 0 and the HPIB address 16 (if its the default in the 8753))

What issues did you see on Mint?  (I think its using apt as a package manager)
The 'autotools' setup **should** have worked (as is used with RPi which is also an 'apt' system) but there's always something  :scared:.

Michael
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf