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 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
<== Date ==> <== Thread ==>

Subject: Re: GPIB connection problem with EPICS 7
From: Miroslaw Dach via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Fri, 23 Feb 2024 16:08:59 -0800
Hi Mark, Thanks for your e-mail. It looks like the issue is with the port mapper or firewall rules. I am able to access gpib gateways from another subnet so it looks like that the connection is not EPICS 7 nor asyn related. I am sorry for the
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd
Hi Mark,

Thanks for your e-mail.
It looks like the issue is with the port mapper or firewall rules. 
I am able to access gpib gateways from another subnet so it looks like that the connection is not
EPICS 7 nor asyn related. I am sorry for the false alert. 

Best Regards
Mirek

On Fri, Feb 23, 2024 at 2:53 PM Mark Rivers <rivers at cars.uchicago.edu> wrote:

Hi Mirek,

 

I have been running a VXI11 device with base 7.0.7 and recent versions of asyn on Centos7 and CentOS 9 with no problems.  I am currently using the master branch (a bit beyond 4-44-2).  But I think R4-42 should work fine.

 

This is the command in my startup script:

 

vxi11Configure("serial2", "164.54.160.16", 0, 0, "gpib0", 0, 0)

 

Your error is happening because clnttcp_create is failing:

https://github.com/epics-modules/asyn/blob/a94a78987a99b1c36bbd641a67341069dc5d627e/asyn/vxi11/drvVxi11.c#L930

 

You may need to add some debugging to see why that call is failing.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Miroslaw Dach via Tech-talk
Sent: Friday, February 23, 2024 1:32 PM
To: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Subject: GPIB connection problem with EPICS 7

 

Hi All, We are migrating in ALS from Centos7 to RockyLinux8 and from EPICS 3 to EPICS 7. 0. 7 . One of our ioc which runs on Centos 7 EPICS 3. 15. 4 asyn4-30 runs fine and can access the GPIB devices via gpib gateways. The same ioc when converted

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Hi All,

 

We are migrating in ALS from Centos7 to RockyLinux8 and from EPICS 3 to EPICS 7.0.7 .

One of our ioc which runs on Centos 7 EPICS 3.15.4 asyn4-30 runs fine and can access the GPIB devices via gpib gateways.

The same ioc when converted to EPICS 7.0.7 with  asyn-R4-42 on RockyLinux 8

reports the problem as below:

 

vxi11Configure ("gpibport01","gpib01",0,0.0,"gpib0",0,0)

dbLoadRecords("db/gpibport01.db")

iocInit()
Starting iocInit
############################################################################
## EPICS R7.0.7
## Rev. 2023-04-14T11:21-0700
## Rev. Date build date/time:
############################################################################

 

2024/02/23 11:09:12.735 GPIB01_MX_ASYN: queueRequest failed

iocRun: All initialization complete

2024/02/23 11:09:22.730 GPIB01_MX_ASYN: special queueRequest timeout

2024/02/23 11:10:01.926 gpibport01 vxiConnectPort error gpib01 RPC: Port mapper failure - Timed out

 

I compiled the same code (with EPICS 7.0.7 with  asyn-R4-42) on centos7 and ran it on Centos7 and the error messages are identical.

Would that be a problem with  EPICS 7.0.7 and new asyn-R4-42 vs EPICS 3.15.4 asyn4-30 ?

 

Best Regards

Mirek


References:
GPIB connection problem with EPICS 7 Miroslaw Dach via Tech-talk
RE: GPIB connection problem with EPICS 7 Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: GPIB connection problem with EPICS 7 Mark Rivers via Tech-talk
Next: Commands with synchronous answers from python Neidherr, Dennis Dr. 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
Navigate by Thread:
Prev: RE: GPIB connection problem with EPICS 7 Mark Rivers via Tech-talk
Next: Commands with synchronous answers from python Neidherr, Dennis Dr. 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
ANJ, 26 Feb 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·