#!../../bin/linux-x86_64/uScopeMotion ## You may have to change uScopeMotion to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/uScopeMotion.dbd" uScopeMotion_registerRecordDeviceDriver pdbbase # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=TAGMPOS") epicsEnvSet("PREFIX","") ## Load record instances dbLoadTemplate "db/TAGM.substitutions" dbLoadTemplate "db/TAGM_Referencing.substitutions" dbLoadRecords "db/tagm_aliases.db", "pref=,P=T1-7-MID" dbLoadRecords "db/grpRef.db", "P=T1-7-MID,GRP=uScopeUpstream" dbLoadRecords "db/posRef.db", "P=T1-7-MID,GRP=uScopeUpstream,R=m1" dbLoadRecords "db/grpRef.db", "P=T1-7-MID,GRP=uScopeMiddle" dbLoadRecords "db/posRef.db", "P=T1-7-MID,GRP=uScopeMiddle,R=m2" dbLoadRecords "db/grpRef.db", "P=T1-7-MID,GRP=uScopeDownstream" dbLoadRecords "db/posRef.db", "P=T1-7-MID,GRP=uScopeDownstream,R=m3" GluexXPSCreateController("T1-7-MID", "t1-7-mid", 5001, 8, 10, 500, 0, 500) GluexXPSCreateAxis("T1-7-MID",0,"uScopeUpstream.Y", "126") GluexXPSCreateAxis("T1-7-MID",1,"uScopeMiddle.Y", "126") GluexXPSCreateAxis("T1-7-MID",2,"uScopeDownstream.Y", "126") GluexXPSCreateGroup("T1-7-MID_uScopeUpstream", "uScopeUpstream", "T1-7-MID" ) GluexXPSCreateGroup("T1-7-MID_uScopeMiddle", "uScopeMiddle", "T1-7-MID" ) GluexXPSCreateGroup("T1-7-MID_uScopeDownstream","uScopeDownstream","T1-7-MID" ) cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") iocInit ## Start any sequence programs seq groupRef,"P=T1-7-MID, GRP=uScopeUpstream, R=m1" seq posRef,"P=T1-7-MID, GRP=uScopeUpstream, POSIT=uScopeUpstream.Y, R=m1" seq groupRef,"P=T1-7-MID,GRP=uScopeMiddle,R=m2" seq posRef,"P=T1-7-MID, GRP=uScopeMiddle, POSIT=uScopeMiddle.Y, R=m2" seq groupRef,"P=T1-7-MID, GRP=uScopeDownstream, R=m3" seq posRef,"P=T1-7-MID, GRP=uScopeDownstream, POSIT=uScopeDownstream.Y, R=m3"