-
Notifications
You must be signed in to change notification settings - Fork 2
DAE Live View
The DAE, when in event mode, can serve up an AreaDetector image as a live view of the neutron data. This can be viewed using an ImageJ plugin or as an Intensity plot in CSS.
Using the liveview device screen you should be able to add a view with the DET macro as 1 or 2
You need to run the DAE in event mode, this will need an event mode wiring table and also defining a second time regime in the time channels section.
Livewview PVs have a root at %MYPVPREFIX%DAE:AD1 and %MYPVPREFIX%DAE:AD2 for the two detector case
You first need to tell it the spectra to use for the liveview
caput %MYPVPREFIX%DAE:AD1:INTG:SPEC:START:SP 11 caput %MYPVPREFIX%DAE:AD1:SizeX 80 caput %MYPVPREFIX%DAE:AD1:SizeY 80
will tell it to start from spectrum 11 and use consecutive spectra as an 80x80 grid
Liveview is disabled by default, it is enabled with
caput %MYPVPREFIX%DAE:AD1:INTG:ENABLE:SP 1
depending on the number of spectra, MAX_ARRAY_BYTES may need adjusting