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: add motor module in synapps |
From: | Kevin Peterson via Tech-talk <tech-talk at aps.anl.gov> |
To: | 网易邮件中心 <l123173 at 163.com>, tech-talk <tech-talk at aps.anl.gov> |
Date: | Tue, 18 Oct 2022 14:25:40 -0500 |
Liang,Where there any errors on the IOC's shell after the dbLoadTemplate call that loads motor.substitutions from the motorSim example IOC?
It's probably a better idea to load the motorSim.iocsh file, which can be uncommented from motors.iocsh in xxx:
https://github.com/epics-modules/xxx/blob/e798cbdecc3d394436dd2f9b504d27f59f6b6d32/iocBoot/iocxxx/examples/motors.iocsh#L6 Kevin On 10/17/22 04:30, 网易邮件中心 via Tech-talk wrote:
Hi all, I am using synapps_6_1 and xxx module.Now I started the xxx ioc, sscan module was good, but motor was not. And I want to use the simulate Motor. Then I modified "common.iocsh" in xxx-R6-1/iocBoot/iocxxx, added following lines:/iocshLoad("$(MOTOR)/iocsh/allstop.iocsh", "P=$(PREFIX)")/ /dbLoadTemplate("$(MOTOR)/modules/motorMotorSim/iocs/motorSimIOC/iocBoot/iocMotorSim/motor.substitutions")/ It failed except the "AllStop Button" in xxx OPI. How should i do it, add the simMotor in xxx. Thanks, Liang