
Acquisition modes
Overview
(c) Spectrum Instrumentation GmbH
79
Acquisition modes
Your card is able to run in different modes. Depending on the selected mode there are different registers that each define an aspect of this
mode. The single modes are explained in this chapter. Any further modes that are only available if an option is installed on the card is doc
-
umented in a later chapter.
Overview
This chapter gives you a general overview on the related registers for the different modes. The use of these registers throughout the different
modes is described in the following chapters.
Setup of the mode
The mode register is organized as a bitmap. Each mode corresponds to one bit of this bitmap. When defining the mode to use, please be
sure just to set one of the bits. All other settings will return an error code.
The main difference between all standard and all FIFO modes is that the standard modes are limited to on-board memory and therefore can
run with full sampling rate. The FIFO modes are designed to transfer data continuously over the bus to PC memory or to hard disk and can
therefore run much longer. The FIFO modes are limited by the maximum bus transfer speed the PC can use. The FIFO mode uses the complete
installed on-board memory as a FIFO buffer.
However as you’ll see throughout the detailed documentation of the modes the standard and the FIFO mode are similar in programming and
behavior and there are only a very few differences between them.
Acquisition modes
Table 33: Spectrum API: card mode and read out of available card mode software registers
Register
Value
Direction
Description
SPC_CARDMODE
9500
read/write
Defines the used operating mode, a read command will return the currently used mode.
SPC_AVAILCARDMODES
9501
read
Returns a bitmap with all available modes on your card. The modes are listed below.
Table 34: Spectrum API: possible values for the card mode register. Description of the different card modes
Mode
Value
Available on
Description
SPC_REC_STD_SINGLE
1h
all cards
Data acquisition to on-board memory for one single trigger event.
SPC_REC_STD_MULTI
2h
all cards
Data acquisition to on-board memory for multiple trigger events. Each recorded segment has the same size.
This mode is described in greater detail in a special chapter about the Multiple Recording option.
SPC_REC_STD_GATE
4h
all cards
Data acquisition to on-board memory using an external Gate signal. Acquisition is only done as long as the
gate signal has a programmed level. The mode is described in greater detail in a special chapter about the
Gated Sampling option.
SPC_REC_STD_ABA
8h
digitizer only
Data acquisition to on-board memory for multiple trigger events. While the multiple trigger events are stored
with programmed sampling rate the inputs are sampled continuously with a slower sampling speed. The
mode is described in a special chapter about ABA mode option.
SPC_REC_STD_SEGSTATS
10000h
M4i/M4x.2xxx
M4i/M4x.44xx
DN2/DN6.2xx
DN2/DN6.44x
digitizer only
Data acquisition to on-board memory for multiple trigger events, using Block/Segment Statistic Module
(FPGA firmware Option).
SPC_REC_STD_AVERAGE
20000h
M4i/M4x.2xxx
M4i/M4x.44xx
DN2/DN6.2xx
DN2/DN6.44x
digitizer only
Data acquisition to on-board memory for multiple trigger events, using Block Average Module (FPGA firm
-
ware Option).
SPC_REC_STD_BOXCAR
800000h
M4i/M4x.44xx
DN2/DN6.44x
digitizer only
Enables Boxcar Averaging for standard acquisition. Requires digitizer module with firmware version V29 or
newer.
SPC_REC_FIFO_SINGLE
10h
all cards
Continuous data acquisition for one single trigger event. The on-board memory is used completely as FIFO
buffer.
SPC_REC_FIFO_MULTI
20h
all cards
Continuous data acquisition for multiple trigger events.
SPC_REC_FIFO_GATE
40h
all cards
Continuous data acquisition using an external gate signal.
SPC_REC_FIFO_ABA
80h
digitizer only
Continuous data acquisition for multiple trigger events together with continuous data acquisition with a
slower sampling clock.
SPC_REC_FIFO_SEGSTATS
100000h
M4i/M4x.2xxx
M4i/M4x.44xx
DN2/DN6.2xx
DN2/DN6.44x
digitizer only
Enables Block/Segment Statistic for FIFO acquisition (FPGA firmware Option).
SPC_REC_FIFO_AVERAGE
200000h
M4i/M4x.2xxx
M4i/M4x.44xx
DN2/DN6.2xx
DN2/DN6.44x
digitizer only
Enables Block Averaging for FIFO acquisition (FPGA firmware Option).
SPC_REC_FIFO_BOXCAR
1000000h
M4i/M4x.44xx
DN2/DN6.44x
digitizer only
Enables Boxcar Averaging for FIFO acquisition. Requires digitizer module firmware version V29 or newer.
SPC_REC_FIFO_SINGLE_MONITOR
2000000h
digitizer only
Combination of SPC_REC_FIFO_SINGLE mode with additional slower sampling clock data stream for moni
-
toring purposes (same as A-data of SPC_REC_FIFO_ABA mode).
Содержание M2p.59 Series
Страница 190: ......