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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: how to use the motorApp in synApps
From: Ron Sluiter <[email protected]>
To: 梁雅翔 <[email protected]>, <[email protected]>
Date: Mon, 23 Mar 2015 09:25:18 -0500
On 3/23/2015 8:53 AM, 梁雅翔 wrote:
    Now, I am using the synApp following the documentation. I want to use KohzuSrc( in motorApps of motor module), but I found the motorApps only has *.cc, not the *.db.
    So I didn't know how to add the record file( *.db) when I modify the st.cmd.
    Could you tell me how to use it?

I suspect you may be confusing database files (*.db) with database definition files (*.dbd). In order for an IOC to use a specific EPICS record type (e.g., the motor record), the IOC has to load the database definition for that record. For the motor module, this can be accomplished by adding the motorSupport.dbd file to the IOC's database definition file. motorSupport.dbd includes both the motorRecord.dbd and "asyn motor" support that you will need to communicate with the Kohzu motor controller.

The motor module has an IOC example that includes Kohzu support in the motor-6-7/motorExApp/WithAsyn directory. motorExApp is not built by default; you have to uncomment some lines from motor_6_7/Makefile to build it. I suggest you look at the motor-6-7/motorExApp/WithAsyn/Makefile as an aid.

Hope this helps,
Ron



References:
how to use the motorApp in synApps 梁雅翔

Navigate by Date:
Prev: how to use the motorApp in synApps 梁雅翔
Next: RE: Support for SRS SR400? Goetze, Kurt A.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: how to use the motorApp in synApps 梁雅翔
Next: Keithley 2260B LV PS Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·