User manual
Programmer’s Guide Page 32 of 64
3.10.5.1. U1084A Averager and SAR
The U1084A Averager and Digitizer supports a simplified version of the Digitizer SAR mode. To enable it:
In Averager mode: Call AcqrsD1_configMode with ‘mode = 2’ (Averaging mode) and ‘flags = 10’ (SAR mode).
In Digitizer mode: Call AcqrsD1_configMode with ‘mode = 0’ (Normal mode) and ‘flags = 10’ (SAR mode).
Control of the Averager in this mode is essentially the same as with SAR mode for Digitizers, except that the number
of banks is fixed at two.
3.10.6. Analyzer and Peak
TDC
Autoswitch mode
If with the Peak
TDC
mode the TdcHistogramMode parameter has been used to enable histogramming the desired
number of acquisitions will be taken automatically. As usual the acquisition must be initialized with a call to
AcqrsD1_acquire(instrID). When the acquisition has terminated the histogram data and the peak or gate data of the
last acquisition will be available for readout. The routines AcqrsD1_acqDone or
AcqrsD1_waitForEndOfAcquisition must be used. With the U1084A Peak
TDC
, histogramming is always enabled
and this is the only operating mode available.
For all other cases the AP Analyzers implement an SSR Autoswitch mode that allows the dead time between
acquisitions to be reduced to the minimum consistent with the readout of the data. As usual the first acquisition must
be initialized with a call to AcqrsD1_acquire(instrID). To allow the second acquisition to start as soon as possible a
call to AcqrsD1_processData (instrD,processType,1) follows immediately. Thereafter data can be read as soon as
the processing is terminated and then the go ahead for the next acquisition can be given as desired.
3.10.6.1. Sequence of actions for SSR mode with event readout
The SSR Autoswitch semaphore is set by the software and cleared by the FPGA.
If the readout process is longer than the acquisition process, the AutoSwitch occurs directly after the software raises
the AutoSwitch semaphore.
At the moment that the ProcessingEnd interrupt occurs, the FPGA has already cleared the AutoSwitch.
acq Bank 0
readout
disabled int.
disabled int.
acq Bank 1
Pro c e ssing 0
int
AutoSwitch
Pro c e ssing 1
int
3
4
0
1
2
disabled int
2
1
S
Description
Software implementation
0
The software configures the mode, the
acquisition parameters, and the readout.
AcqrsD1_configMode(…);
AcqrsD1_configAvgConfig(…); …
1
The software starts the first acquisition.
AcqrsD1_acquire(instrID);
2 The software sets the AutoSwitch semaphore.
To ensure the shortest response time this
arming function should be done on the order
of 10-20 μs before the expected acquisition
end.
AcqrsD1_processData(instrID, processType, 1);
processType = 0 is used for SSR & Peak
TDC
= 1,2,3, or 4 are for AP101/AP201 or
Peak
TDC
3
When the acquisition has finished, the FPGA