
ABA mode (dual timebase)
Limits of pre trigger, post trigger, memory size
(c) Spectrum Instrumentation GmbH
151
All figures listed here are given in samples. An entry of [8G - 16] means [8 GSamples - 16] = 8,589,934,576 samples.
The given memory and memory / divider figures depend on the installed on-board memory as listed below:
Please keep in mind that this table shows all values at once. Only the absolute maximum and minimum values are shown. There might be
additional limitations. Which of these values are programmed depends on the used mode. Please read the detailed documentation of the
mode.
Example for setting ABA mode:
The following example will program the standard ABA mode, will set the fast sampling rate to 100 MHz and acquire 2k segments with 1k
pretrigger and 1k posttrigger on every rising edge of the trigger input. Meanwhile the inputs are sampled continuously with the ABA mode
with a ABA divider set to 5000 resulting in a slow sampling clock for the A area of 100 MHz / 5000 = 20 kHz:
FIFO Gate
not used
8
16k
8
8
8G - 8
8
not used
0 (
)
4G - 1
1
4 Ch
Standard Single
16
Mem/4
8
8
Mem/4 - 8
8
8
8G - 16
8
not used
not used
(defined by mem and post)
Standard
Multi/ABA
16
Mem/4
8
8
8k
8
8
Mem/4 - 8
8
16
Mem/4
8
not used
(defined by segment and
post)
(Limited by max pretrigger)
Standard Gate
16
Mem/4
8
8
8k
8
8
Mem/4 - 8
8
not used
not used
FIFO Single
not used
8
8k
8
not used
16
8G - 16
8
0 (
)
4G - 1
1
FIFO Multi/ABA
not used
8
8k
8
8
8G - 16
8
16
pre+post
8
0 (
)
4G - 1
1
(defined by segment and
post)
(Limited by max pretrigger)
FIFO Gate
not used
8
8k
8
8
8G - 16
8
not used
0 (
)
4G - 1
1
8 Ch
Standard Single
16
Mem/8
8
8
Mem/8 - 8
8
8
8G - 8
8
not used
not used
(defined by mem and post)
Standard
Multi/ABA
16
Mem/8
8
8
4k
8
8
Mem/8 - 8
8
16
Mem/8
8
not used
(defined by segment and
post)
(Limited by max pretrigger)
Standard Gate
16
Mem/8
8
8
4k
8
8
Mem/8 - 8
8
not used
not used
FIFO Single
not used
8
4k
8
not used
16
8G - 16
8
0 (
)
4G - 1
1
FIFO Multi/ABA
not used
8
4k
8
8
8G - 16
8
16
pre+post
8
0 (
)
4G - 1
1
(defined by segment and
post)
(Limited by max pretrigger)
FIFO Gate
not used
8
4k
8
8
8G - 16
8
not used
0 (
)
4G - 1
1
Installed Memory
512 MSample
Mem
512 MSample
Mem/2
256 MSample
Mem/4
128 MSample
Mem/8
64 MSample
// setting the fast sampling clock as internal 100 MHz
spcm_dwSetParam_i32 (hDrv, SPC_CLOCKMODE, SPC_CM_INTPLL);
spcm_dwSetParam_i64 (hDrv, SPC_SAMPLERATE, 100000000);
// enable the ABA mode and set the ABA divider to 5000 -> 100 MHz / 5000 = 20 kHz
spcm_dwSetParam_i32 (hDrv, SPC_CARDMODE, SPC_REC_STD_ABA);
spcm_dwSetParam_i32 (hDrv, SPC_ABADIVIDER, 5000);
// define the segmentsize, pre and posttrigger and the total amount of data to acquire
spcm_dwSetParam_i64 (hDrv, SPC_MEMSIZE, 16384);
spcm_dwSetParam_i64 (hDrv, SPC_SEGMENTSIZE, 2048);
spcm_dwSetParam_i64 (hDrv, SPC_POSTTRIGGER, 1024);
// set the trigger mode to external with positive edge
spcm_dwSetParam_i32 (hDrv, SPC_TRIG_ORMASK, SPC_TMASK_EXT0);
spcm_dwSetParam_i32 (hDrv, SPC_TRIG_EXT0_MODE, SPC_TM_POS);
Table 86: Overview of all limits of pre-trigger, post-trigger and memory size for the different channel activations and acquisition modes
Activated
Used
Memory size
Pre trigger
Post trigger
Segment size
Loops
Channels
Mode
SPC_MEMSIZE
SPC_PRETRIGGER
SPC_POSTTRIGGER
SPC_SEGMENTSIZE
SPC_LOOPS
Min
Max
Step
Min
Max
Step
Min
Max
Step
Min
Max
Step
Min
Max
Step
Summary of Contents for M2p.59 Series
Page 190: ......