Transfer Buffers; User's Buffers; Streaming Transfer Mode; Users Application Software Consuming Data - Teledyne ADQ8-4X Manual

Table of Contents

Advertisement

'  * 

Figure 31: Timing of user-scheduled data transfer.
7.6.1

Transfer buffers

The data transfer buffers are the kernel buffers in
the ADQAPI to transfer the data from the ADQ digitizer to the host PC.
The transfer buffers are owned and managed by the ADQAPI, but the user sets the size and number of
buffers with the command
7.6.2

User's buffers

The user's buffers in
Figure 30
data record and puts the result in these buffers.
Create the buffers using
command or
GetDataWHTS
The user's buffers consist of two sets of buffers; one for header information and one for data. The
header is always 40 bytes per record and the content is described in
is depending on the amount of data in each record. For FWDAQ, the record size is always constant and
the buffer size can be set to match the record size. The example code in ADQAPI_example
how to handle data buffers in general.

7.7 Streaming transfer mode

Streaming transfer mode is described in [7].

7.8 Users application software consuming data

The users application can consume the data in different ways. Some examples are in
component "disk" is used for illustrating the end point for the data. It may also be a display or some
other device such as an alarm.
1. The ADQAPI_example is found in the folder installation of the digitizer software.
19-2302 A
2020-09-16
'  *  $
$

.
SetTransferBuffers
are allocated and managed by the user. The ADQAPI recreates the
. Then provide the pointers of these buffers to the ADQAPI through the
malloc
.
'  *  7
7

Figure
30. These buffers are used by the DMA and
Section
ADQ8-4X Manual
19-2302 A 2020-09-16
40(46)
'  *  


7.9. The data buffer size
1
illustrate
Figure
32. The
40(46)

Advertisement

Table of Contents
loading

Table of Contents