ISIS Logo
PIXELMAN
EPICS plugin for Pixelman
pixelman.cmd
Go to the documentation of this file.
1 ##
2 ## @file pixelman.cmd
3 ##
4 ## output from the running of this file is sent
5 ## to pixelman_iocout.log and pixelman_iocerr.log
6 ##
7 
8 ## Increase this if you get <<TRUNCATED>> or discarded messages warnings in your errlog output
9 errlogInit2(65536, 256)
10 
11 < $(EPICSPIXELMAN)/../iocBoot/iocpixelman/envPaths
12 
13 ## correct TOP in case we have moved location
14 epicsEnvSet("TOP","$(EPICSPIXELMAN)/..")
15 
16 epicsEnvSet("AUTOSAVEREQ","#")
17 
18 ## Register all support components
19 dbLoadDatabase "$(TOP)/dbd/pixelman.dbd"
20 pixelman_registerRecordDeviceDriver pdbbase
21 
22 ## ISIS common init
23 < $(IOCSTARTUP)/init.cmd
24 
25 ## "BeARQuT" is the real MCP detector, "dummy" is the simulation mode
26 ## PIXDET variable normally set in the config_local.bat invoked by run_pixelman.bat to run pixelman.exe
27 #pixelmanConfigure("MCP", "BeARQuT")
28 #pixelmanConfigure("MCP", "dummy")
29 pixelmanConfigure("MCP", "$(PIXDET=dummy)")
30 
31 ## pixelman picks up variables to write to the FITS header from a file
32 ## This configures the association between this file and the PVs
33 ## defined in FitsParameters.db
34 ## PIXELMANDIR is set in config_local.bat and then translated to EPIXELMANDIR
35 FileServerConfigure("fits", "${EPIXELMANDIR}/FitsHeaderParameters.txt")
36 
37 ## ISIS common init
38 < $(IOCSTARTUP)/dbload.cmd
39 
40 ## Load our record instances
41 ## At ISIS the MYPVPREFIX environment variable is already set externally
42 dbLoadRecords("$(TOP)/db/pixelman.db", "P=$(MYPVPREFIX=),Q=PIXELMAN:")
43 dbLoadRecords("$(TOP)/db/FitsParameters.db", "P=$(MYPVPREFIX=),Q=PIXELMAN:")
44 
45 set_requestfile_path(".", "")
46 
47 ## ISIS common init
48 < $(IOCSTARTUP)/preiocinit.cmd
49 
50 iocInit
51 
52 ## ISIS common post init
53 < $(IOCSTARTUP)/postiocinit.cmd
54 
55 ## Start any sequence programs
56 #seq sncxxx,"user=faa59Host"
57 
58 dbl
dbLoadDatabase(TOP)/dbd/pixelman.dbd"
Register all support components ;.
iocInit
ISIS common init ;.
Definition: pixelman.cmd:46
FileServerConfigure("fits","${EPIXELMANDIR}/FitsHeaderParameters.txt")
pixelman picks up variables to write to the FITS header from a file ; This configures the association...
record(stringout,"$(P)$(Q)FITS:$(PARAM):SP")
leave out DESC for now as a bit long
dbl
ISIS common post init ;.
Definition: pixelman.cmd:51
errlogInit2(65536, 256)
Increase this if you get <> or discarded messages warnings in your errlog output ;...
pixelmanConfigure("MCP","$(PIXDET=dummy)")
ISIS common init ;.
dbLoadRecords("$(TOP)/db/pixelman.db","P=$(MYPVPREFIX=),Q=PIXELMAN:")
ISIS common init ;.
epicsEnvSet("TOP","$(EPICSPIXELMAN)/..")
correct TOP in case we have moved location ;
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.8