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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: get asyn hostInfo |
From: | Douglas Araujo via Tech-talk <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 4 Apr 2024 13:15:39 +0000 |
Sure, perhaps I haven't made myself clear, but the code I included in the question is indeed mine. Now, I'm providing the specific block for clarity. RMMRegisterAccess::RMMRegisterAccess(const std::string& address_info) {
connect(address_info);
... asynInterface *pasynInterface; pasynInterface = pasynManager->findInterface(pasynUserOctet_, asynCommonType, 1); void *asynOptionPvt; asynOption *pasynOption; pasynOption = (asynOption *) pasynInterface->pinterface; asynOptionPvt = pasynInterface->drvPvt; char hostbuff[100]; getOption(asynOptionPvt, pasynUserOctet_, "hostInfo", hostbuff, 100 ); std::cout << pasynUserOctet_->errorMessage << std::endl; }
asynStatus RMMRegisterAccess::connect(const std::string& address_info) {
// where address_info is the portName defined in the drvAsynIPPortConfigure return pasynOctetSyncIO->connect(address_info.c_str(),
0,
&pasynUserOctet_,
NULL);
}
Douglas From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, April 4, 2024 2:59:14 PM To: Douglas Araujo Cc: tech-talk at aps.anl.gov Subject: Re: get asyn hostInfo Can you share your code?
Sent from my iPhone
On Apr 4, 2024, at 8:50 AM, Douglas Araujo <douglas.araujo at ess.eu> wrote:
|