The Q4 CCD detector portion of the DHS can be used with a det_emulator
program which can be obtained separately from
Area Detector Systems Corporation.
The det_emulator program simulates a Q4 (or actually a Q1) detector,
allowing a simulated beam line to collect 'data'.
The det_emulator generates artificial images
and sends the images over socket connections following the
same protocol as a the det_api program. The detector DHS is
responsible for writing the images to disk.
blctlxx:~/release-3_2/dhs/linux > ls -alrt POSTNUF CALFIL NONUNF -rwxr----- 1 blctl postgres 334520 May 23 10:53 POSTNUF -rwxr----- 1 blctl postgres 25812118 May 23 10:53 CALFIL -rwxr----- 1 blctl postgres 10617344 May 23 10:53 NONUNF
smbdcsdev:/usr/local/dcs/det_emulator > scp blcpu2:~/release-3_2/dhs/det_emulator . det_emulator 100% |*****************************| 81920 00:00 smbdcsdev:~/release-3_2/det_emulator > scp blcpu2:~/release-3_2/dhs/CCD_API.ENV . CCD_API.ENV 100% |*****************************| 198 00:00 smbdcsdev:~/release-3_2/det_emulator >
smbdcsdev:~/release-3_2/det_emulator > det_emulator
---------------------------------
CCD Detector Control V1.1
Copyright ADSC 1997
---------------------------------
local column offset set to 35 for detector 0
local column offset set to 69 for detector 1
local column offset set to 20 for detector 2
local column offset set to 17 for detector 3
ccddet_init: CCD size is: 1242 (rows) x 1152 (cols)
ccddet_init : at Dec 19 15:03:51: initialized system for controller: 0
ccddet_init : at Dec 19 15:03:51: system properly initialized.
blctlxx:~/release-3_2/dhs/linux > ./dhs detector