#!../../bin/linux-x86/xpsMotor < envPaths cd ${TOP} dbLoadDatabase("dbd/xpsMotor.dbd") xpsMotor_registerRecordDeviceDriver(pdbbase) # Load IOC status records #dbLoadRecords("db/iocAdminSoft.db","IOC=MTRTGR") epicsEnvSet("PREFIX","") epicsEnvSet("RAD_MOTOR","$(PREFIX)hd:radiator:motor") dbLoadRecords("db/standardScans.db","P=$(RAD_MOTOR):,MAXPTS1=2000,MAXPTS2=1000,MAXPTS3=1000,MAXPTS4=10,MAXPTSH=2000") dbLoadRecords("db/saveData.db","P=$(RAD_MOTOR):") dbLoadRecords("db/scanProgress.db","P=$(RAD_MOTOR):scanProgress:") cd ${TOP}/iocBoot/${IOC} #asSetFilename("ca_security.txt") # iocInit cd ${TOP}/iocBoot/iocxpsMotor saveData_Init("saveData.req", "P=$(RAD_MOTOR):") seq &scanProgress, "S=$(RAD_MOTOR):,P=$(RAD_MOTOR):scanProgress:" dbpf("$(RAD_MOTOR):scan1.R1PV", "$(RAD_MOTOR):m6.RBV") dbpf("$(RAD_MOTOR):scan1.P1PV", "$(RAD_MOTOR):m6.VAL") dbpf("$(RAD_MOTOR):scan1.D01PV","$(RAD_MOTOR):m6.RBV") dbpf("$(RAD_MOTOR):scan1.P1SP", "1") dbpf("$(RAD_MOTOR):scan1.P1EP", "6") dbpf("$(RAD_MOTOR):scan1.P1SI", ".05") #dbpf("$(RAD_MOTOR):scan1.NPTS", "10") dbpf("$(RAD_MOTOR):saveData_fileSystem", "/gluex/data/HarpScans/") dbpf("$(RAD_MOTOR):saveData_subDir", "sscanData") dbpf("$(RAD_MOTOR):saveData_baseName", "data_") #