Re: Agilent 82357B Timeout error 14

Steve Tell <[email protected]> Wed, 12 Aug 2020 13:33:05 -0400 (EDT)
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <alpine.LRH.2.20.2008121329570.26697@helena>
Does your Agilent 82357B work with any other GPIB devices?

We've had several 82357Bs fail, and I think thats how I remember them 
dying - they just can't communicate with the GPIB side.

I did see a note somewhere suggesting a GPIB cable between the usb-gpib 
adaptor and the instrument; perhaps they have a timing problem in some 
caes.

Steve




On Tue, 7 Jul 2020, Andrew Z wrote:

> Hello!
> 
> I am having some issues getting linux-gpib to work with my GPIB adapter and
> I was wondering if I could get some help. I'm not sure if this is the right
> place to ask, if not, it would be great if someone could direct me to the
> proper avenue!
> 
> I have been looking around at previous issues and I haven't been able to
> find a solution to my problem. Here's my setup:
> 
> Raspberry Pi 4 running 4.19.118-v7l+
> Agilent 82357B USB-to-GPIB adapter connected to a Tektronix TDS220
> linux-gpib-4.3.3, revision 1916
> 
> I am getting a timeout error (14). I know *IDN? works as I have used it
> before successfully with a NI-GPIB-HS adapter.
> 
> ```
> : w
> enter a string to send to your device: *IDN?
> sending string: *IDN?
> 
> gpib status is:
> ibsta = 0xc100  < ERR TIMO CMPL >
> iberr= 14
> EBUS 14: Bus error
> 
> ibcntl = 0
> ```
> I've also tried using \n at the end which is the correct end character for
> my instrument. But still I'm getting the same error message.
> 
> ```
> : w
> enter a string to send to your device: *IDN?\n
> sending string: *IDN?\n
> 
> gpib status is:
> ibsta = 0xc100  < ERR TIMO CMPL >
> iberr= 14
> EBUS 14: Bus error
> 
> ibcntl = 0
> ```
> 
> Here's my gpib.conf settings:
> 
> ```
> interface {
>         minor = 0       /* board index, minor = 0 uses /dev/gpib0, minor = 1
> uses /dev/gpib1, etc. */
>         board_type = "agilent_82357a"   /* type of interface board being
> used */
>         name = "violet" /* optional name, allows you to get a board
> descriptor using ibfind() */
>         pad = 0 /* primary address of interface             */
>         sad = 0 /* secondary address of interface           */
>         timeout = T100s /* timeout for commands */
> 
>         eos = 0x0a      /* EOS Byte, 0xa is newline and 0xd is carriage
> return */
>         set-reos = yes  /* Terminate read if EOS */
>         set-bin = yes   /* 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 */
> }
> ```
> 
> I have also loaded the firmware onto the agilent adapter and the ready light
> is green. I've used the exact same installation that was working on the
> NI-GPIB-HS adapter so I assume that my build and install procedures are
> correct. I also tried installing it on another pi for verification, same
> result.
> 
> This seems to be the same error as listed by this
> tutorial: https://xdevs.com/guide/agilent_gpib_rpi/ .It says I should use
> revision 1654 or later on a 4.x.x kernel of which I am using revision 1916.
> I believe I've done everything correctly and have read a decent number of
> forums but none have yet to fix my problem. Any help though would be
> appreciated!
> 
> Best,
> 
> Andrew
> 
> 
>

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general