EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026>  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026> 
<== Date ==> <== Thread ==>

Subject: Re: Error in accessing USB based DSO via E5810B Gateway
From: Sarthak Gupta via Tech-talk <tech-talk at aps.anl.gov>
To: GAGET Alexis <ALEXIS.GAGET at cea.fr>
Cc: tech-talk at aps.anl.gov
Date: Thu, 01 Oct 2026 14:43:48 +0530
Hello Alexis,

The PVs are not working if the target instrument is connected using the USB port on the E5810B gateway. The PVs are working if the same target instrument is connected using either the GPIB or serial port of the gateway.

EPICS uses vxi11 when communicating with the E5810B gateway. I am trying to understand if any specific configuration is required on EPICS side when we connect the target instrument on the USB port of the E5810B or is there some limitation from the E5810B side.

I will investigate the packets using wireshark. It's a good idea.

And thanks for the tip. I am aware of the 'Terminator' field. This is just a single/two record database to test the E5810B.

On 23-09-2026 02:29 PM, GAGET Alexis wrote:
Hello Sarthak,
I don't understand the error fault but just in case.

If I understood well, you have working PVs except from the IDN command ?
GPIB and serial ports of E5810B are working correctly with EPICS

The IDN seems to be process only at start with PINI, have you tried
process it manually after ?
 caput $(P)$(DEVICE)IDN.PROC 1 should work, or dbtr in the iocShell
if it worked that way, it's probably an initialization issue.

You can also check at the packet you send and receive using wireshark
to investigate. It's ASCII so it should be readable.

Regarding your command, just a tip. To avoid writing LF in every
command you have you can define the field Terminator at the beginning
of your protocol file. see
https://urldefense.us/v3/__https://paulscherrerinstitute.github.io/StreamDevice/protocol.html*var__;Iw!!G_uCfscf7eWS!bWS0ZFaRBlwro1DOVij-0PadLo8jb827gPFIGCti-zeoxJbOI2KBOxZ_pjWZpIewNhhu8hQuj1e7mdF_tzbKJ1qbUFVUKE6m$ query_idn {
     out "*IDN?" LF;
      in "%s" LF;
}

Regards

Alexis

-----Message d'origine-----
De : Tech-talk <tech-talk-bounces at aps.anl.gov> De la part de Sarthak
Gupta via Tech-talk
Envoyé : mercredi 16 septembre 2026 13:03
À : tech-talk at aps.anl.gov
Objet : Error in accessing USB based DSO via E5810B Gateway

Hello,

I am trying to access a USB based DSOs (Tektronics TDS 2014B or Agilent
DSO1024A) using Keysight/Agilent E5810B Ethernet gateway. My
connection string is as follows:

vxi11Configure("L2", "10.42.0.10", 0, "0.0",
"usb0[1689::872::C039225::0]", 0, 0)

However, on starting the IOC, I am getting following errors/warnings:

L2 vxiBusStatus error VXI: operation not supported
2026/09/16 16:14:42.685 L2 asynGpib:srqPoll srqStatus error error

There is no response from following record:

record (stringin, "$(P)$(DEVICE)IDN")
{
     field (SCAN, "Passive")
     field (DTYP, "stream")
     field (INP,  "@e5810b_gateway.proto query_idn $(PORT) $(ADDR)")
     field (PINI, "YES")
}

Corresponding stream protocol:

query_idn {
     out "*IDN?" LF;
      in "%s" LF;
}

GPIB and serial ports of E5810B are working correctly with EPICS.
Also, the DSOs are responding when they are directly accessed using
PyVISA-py library.

Kindly guide me.

With Regards
--
Sarthak Gupta
Scientific Officer F
Laser Electronics and Controls Section
Laser Control & Instrumentation Division Raja Ramanna Center for
Advanced Technology Department of Atomic Energy Indore (MP) 452013
Ph: +91.731.2488422, +91.731.2442673

With Regards
--
Sarthak Gupta
Scientific Officer F
Laser Electronics and Controls Section
Laser Control & Instrumentation Division
Raja Ramanna Center for Advanced Technology
Department of Atomic Energy
Indore (MP) 452013
Ph: +91.731.2488422, +91.731.2442673

Replies:
Re: Error in accessing USB based DSO via E5810B Gateway Mark Rivers via Tech-talk
References:
Error in accessing USB based DSO via E5810B Gateway Sarthak Gupta via Tech-talk
RE: Error in accessing USB based DSO via E5810B Gateway GAGET Alexis via Tech-talk

Navigate by Date:
Prev: Re: AreaDetector Collaboration Meeting - October 1st Érico Nogueira Rolim via Tech-talk
Next: Re: Error in accessing USB based DSO via E5810B Gateway Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026> 
Navigate by Thread:
Prev: RE: Error in accessing USB based DSO via E5810B Gateway GAGET Alexis via Tech-talk
Next: Re: Error in accessing USB based DSO via E5810B Gateway Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026> 
ANJ, 01 Oct 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·