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  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: MCA module's Amptek USB driver fails to connect
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: 'Ru Igarashi' <Ru.Igarashi at lightsource.ca>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 11 Aug 2021 20:48:43 +0000
Hi Ru,

Thanks for pointing this out.  Could I ask you to please create a Github issue here: https://github.com/epics-modules/mca/issues

Thanks
Mark


-----Original Message-----
From: Ru Igarashi <Ru.Igarashi at lightsource.ca> 
Sent: Wednesday, August 11, 2021 3:46 PM
To: tech-talk at aps.anl.gov
Cc: Mark Rivers <rivers at cars.uchicago.edu>
Subject: MCA module's Amptek USB driver fails to connect

Hello,
This is mostly directed at Mark Rivers but might be of some use to someone in the same situation as me.

I tried to use the synApps mca module R7-9 to control some Amptek
PX5 SDD readout electronics over USB (Amptek docs say the ethernet is 10-baseT... haven't had time to test transfer rates to see if this is still true).  I couldn't get the driver to connect, then traced the problem to the function "drvAmptek::connectDevice()" failing on a "hostToIPAddr()" call that fails because a valid IP address was not given (actually is left blank for USB devices).  I got around it by checking if "addressInfo_" is empty, and that got the app working so that I could to some test data acquisition.  But it now occurs to me that the entire chunk of code prior to checking "directMode_"
should be in the "if( interfaceType == DppInterfaceEthernet)" block. 
I haven't tested this yet, but it seems more appropriate.

ru

---
Ru Igarashi
e-mail: ru.igarashi at usask.ca   
phone: 1 306 657 3751    
address:      
Canadian Light Source
44 Innovation Boulevard
S7N 2V3   Canada

References:
MCA module's Amptek USB driver fails to connect Ru Igarashi via Tech-talk

Navigate by Date:
Prev: MCA module's Amptek USB driver fails to connect Ru Igarashi via Tech-talk
Next: [no subject] yue zongyang 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  <20212022  2023  2024 
Navigate by Thread:
Prev: MCA module's Amptek USB driver fails to connect Ru Igarashi via Tech-talk
Next: [no subject] yue zongyang 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  <20212022  2023  2024 
ANJ, 12 Aug 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·