From f355a1b00459aaaf23e152c0c57ae0a6e33b8d61 Mon Sep 17 00:00:00 2001 From: timmmooney <mooney@aps.anl.gov> Date: Sun, 8 Oct 2006 18:06:34 +0000 Subject: [PATCH] added Io calculation --- iocBoot/iocCygwin/auto_settings.req | 3 +++ iocBoot/iocCygwin/st.cmd | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/iocBoot/iocCygwin/auto_settings.req b/iocBoot/iocCygwin/auto_settings.req index fd3b2da..d5a645d 100644 --- a/iocBoot/iocCygwin/auto_settings.req +++ b/iocBoot/iocCygwin/auto_settings.req @@ -30,6 +30,9 @@ file scan_settings.req P=$(P),S=scanH ##$(P)KohzuMode2MO.VAL ##$(P)Kohzu_yOffsetAO.VAL +# Io calc +file Io_settings.req P=xxx:Io: + ### user calcs. Disabled on startup unless the xxxEnable PV is ### autosaved. file userCalcs10_settings.req P=$(P) diff --git a/iocBoot/iocCygwin/st.cmd b/iocBoot/iocCygwin/st.cmd index 758f2b8..9035ddf 100644 --- a/iocBoot/iocCygwin/st.cmd +++ b/iocBoot/iocCygwin/st.cmd @@ -82,6 +82,9 @@ dbLoadRecords("$(OPTICS)/opticsApp/Db/2slit.db","P=xxx:,SLIT=Slit1H,mXp=m5,mXn=m #tableRecordDebug=1 dbLoadRecords("$(OPTICS)/opticsApp/Db/table.db","P=xxx:,Q=Table1,T=table1,M0X=m1,M0Y=m2,M1Y=m3,M2X=m4,M2Y=m5,M2Z=m6,GEOM=SRI") +# Io calculation +dbLoadRecords("$(OPTICS)/opticsApp/Db/Io.db","P=xxx:Io:") + ### Monochromator support ### # Kohzu and PSL monochromators: Bragg and theta/Y/Z motors # standard geometry (geometry 1) @@ -165,6 +168,9 @@ iocInit # Orientation-matrix #seq &orient, "P=xxx:orient1:,PM=xxx:,mTTH=m9,mTH=m10,mCHI=m11,mPHI=m12" +# Io calculation +seq &Io, "P=xxx:Io:,MONO=xxx:BraggEAO,VSC=xxx:scaler1" + # Start PF4 filter sequence program #seq pf4Dual,"P=xxx:pf401:seq01:,MONO=,A0=,A1=,A2=,A3=,B0=,B1=,B2=,B3=" -- GitLab