ISIS Logo
PIXELMAN
EPICS plugin for Pixelman
pixelman.cmd

Plugin IOC startup file

##
## @file pixelman.cmd
##
## output from the running of this file is sent
## to pixelman_iocout.log and pixelman_iocerr.log
##
## Increase this if you get <<TRUNCATED>> or discarded messages warnings in your errlog output
errlogInit2(65536, 256)
< $(EPICSPIXELMAN)/../iocBoot/iocpixelman/envPaths
## correct TOP in case we have moved location
epicsEnvSet("TOP","$(EPICSPIXELMAN)/..")
epicsEnvSet("AUTOSAVEREQ","#")
## Register all support components
dbLoadDatabase "$(TOP)/dbd/pixelman.dbd"
pixelman_registerRecordDeviceDriver pdbbase
## ISIS common init
< $(IOCSTARTUP)/init.cmd
## "BeARQuT" is the real MCP detector, "dummy" is the simulation mode
## PIXDET variable normally set in the config_local.bat invoked by run_pixelman.bat to run pixelman.exe
#pixelmanConfigure("MCP", "BeARQuT")
#pixelmanConfigure("MCP", "dummy")
pixelmanConfigure("MCP", "$(PIXDET=dummy)")
## pixelman picks up variables to write to the FITS header from a file
## This configures the association between this file and the PVs
## defined in FitsParameters.db
## PIXELMANDIR is set in config_local.bat and then translated to EPIXELMANDIR
FileServerConfigure("fits", "${EPIXELMANDIR}/FitsHeaderParameters.txt")
## ISIS common init
< $(IOCSTARTUP)/dbload.cmd
## Load our record instances
## At ISIS the MYPVPREFIX environment variable is already set externally
dbLoadRecords("$(TOP)/db/pixelman.db", "P=$(MYPVPREFIX=),Q=PIXELMAN:")
dbLoadRecords("$(TOP)/db/FitsParameters.db", "P=$(MYPVPREFIX=),Q=PIXELMAN:")
set_requestfile_path(".", "")
## ISIS common init
< $(IOCSTARTUP)/preiocinit.cmd
## ISIS common post init
< $(IOCSTARTUP)/postiocinit.cmd
## Start any sequence programs
#seq sncxxx,"user=faa59Host"
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.8