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: macro value
From: "Goetze, Kurt A." <[email protected]>
To: l123173 <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 20 Apr 2015 17:36:58 +0000

Hi Xing Li,

 

You will know what your macro values should be based on the line that loads the scaler database into your ioc, usually in a startup command file called “st.cmd”.  In our case st.cmd loads “vme.cmd”, which contains a line like this:

 

dbLoadRecords(“$(STD)/stdApp/Db/scaler.db”,”P=xyz:,S=scaler1,OUT=#C0 S0 @,DTYP=Joerger VSC8/16,FREQ=10000000”)

 

“P=xyz:” and “S=scaler1” are the macro values you care about in this case because they are used in the PV name, and that’s what you’re connecting to with medm.

 

Hope this helps,

Kurt

 

From: [email protected] [mailto:[email protected]] On Behalf Of l123173
Sent: Monday, April 20, 2015 10:18 AM
To: [email protected]
Subject: macro value

 

Hi tech-talk,

computer :  linux redhat6.0     3.14.12.1     synApp5.6
 
I startup the medm with "medm -x -macro "P=xxx:,S=scaler974" /home/bsrf-non/Documents/synApps_5_6/support/all_adl/scaler.adl", but it could connect.
I think it is the macro value, because I copy it from others( I could not contact him )and it worked well before. Recently, I delete the synApp by careless, it did not work evenif I rebuilt the synApp.

I know nothing about how to set the macro value , could you teach me how to know  your macro value.
Thanks for you advice!

Thank you,
Xing Li

 


References:
macro value l123173

Navigate by Date:
Prev: RE: EPICS installed, making ioc, not working... Arnold, Ned D.
Next: RE: macro value Mark Rivers
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: RE: macro value Mooney, Tim M.
Next: RE: macro value Mark Rivers
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 ·