ISIS Logo
PIXELMAN
EPICS plugin for Pixelman
Functions | Variables
pixelman.cmd File Reference

; ; ; output from the running of this file is sent ; to pixelman_iocout.log and pixelman_iocerr.log ; ; More...

Go to the source code of this file.

Functions

 errlogInit2 (65536, 256)
 Increase this if you get <<TRUNCATED>> or discarded messages warnings in your errlog output ;.
 
 epicsEnvSet ("TOP","$(EPICSPIXELMAN)/..")
 correct TOP in case we have moved location ;
 
 dbLoadDatabase (TOP)/dbd/pixelman.dbd"
 Register all support components ;.
 
 epicsEnvSet ("EPICS_DB_INCLUDE_PATH","$(ADCORE)/db")
 ISIS common init ;.
 
 pixelmanConfigure ("MCP","$(PIXDET=dummy)")
 "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 ;
 
 FileServerConfigure ("fits","${EPIXELMANDIR}/FitsHeaderParameters.txt")
 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 ;
 
 NDTransformConfigure ("ADRawImage1", 3, 0,"MCP", 0, 0)
 ISIS common init ;. More...
 
 epicsEnvSet ("EPICS_CA_MAX_ARRAY_BYTES","1100000")
 needs to fit in EPICS_CA_MAX_ARRAY_BYTES i.e. More...
 
 dbLoadRecords ("NDTransform.template","P=$(MYPVPREFIX),R=PIXELMAN:AD:rawimage1:,PORT=ADRawImage1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=MCP,NDARRAY_ADDR=0,DATATYPE=4,ENABLED=1")
 This waveform ; TYPE=Int8,FTVL=UCHAR for 8 bit integer ; TYPE=Int32,FTVL=LONG,DATATYPE=4 for 32 bit integer ; TYPE=Float32,FTVL=FLOAT,DATATYPE=6 for 32 bit float ;.
 

Variables

 iocInit
 ISIS common init ;.
 
 dbpf (MYPVPREFIX) PIXELMAN
 ISIS common post init ;. More...
 

Detailed Description

; ; ; output from the running of this file is sent ; to pixelman_iocout.log and pixelman_iocerr.log ; ;

Definition in file pixelman.cmd.

Function Documentation

epicsEnvSet ( "EPICS_CA_MAX_ARRAY_BYTES"  ,
"1100000"   
)

needs to fit in EPICS_CA_MAX_ARRAY_BYTES i.e.

nx * ny * pixelsize ; also NELEMENTS needs to at least nx * ny ; 512 * 512 = 262144 ; 512 * 512 * 4 = 1048576 ;

NDTransformConfigure ( "ADRawImage1"  ,
,
,
"MCP"  ,
,
 
)

ISIS common init ;.

Load our record instances ; At ISIS the MYPVPREFIX environment variable is already set externally ; areaDetector ;

Examples:
pixelman.cmd.

Variable Documentation

dbpf(MYPVPREFIX) PIXELMAN

ISIS common post init ;.

Start any sequence programs ;

Examples:
pixelman.cmd.

Definition at line 96 of file pixelman.cmd.

Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5