![Acqiris U5303A Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/acqiris/u5303a/u5303a_user-manual_2840732050.webp)
3.3 Triggered simultaneous acquisition and readout (TSR)
50
U5303A User's Manual
Figure 3.8 -
Illustration of the recorded data in the on-board memory when using TSR mode.
After initiating the acquisition, when the 1
st
trigger occurs, the card records data and stores it into a
circular buffer which can be read simultaneously.
Thanks to TSR mode, the data rate can be sustained without losing any trigger. The maximum
performances of the system depend on the records size and trigger rate of the application.
Mode of operation
The TSR option implements an optimal and automated control of memory addressing. It results in an
easy to use solution when compared with solutions requiring memory bank management.
User can choose not to select the number of records. In this case, the driver provided with the ADC
card will automatically select the maximum number of records depending on the memory option and
the number of samples per records.
If the
TSR Enabled
property is set to true (and the
Initiate Acquisition
function is launched), the card
will acquire data and store them into a circular buffer which can be read simultaneously.
Once the Acquisition is initiated, the user has to poll on the TSR
IsAcquisitionComplete
property to
check for the availability of data. When minimum programmable number of records are acquired, data
can be fetched through standard (single- or multi-record) fetch functions.
The
TSR Continue
function can be called to release the buffer containing the read data and make it
available for the next acquisitions. User can also release the buffer after partial read or without reading
any data.
The
TSR MemoryOverflowOccurred
property indicates that no more memory is available to perform
additional acquisitions, implying that follow-on triggers may be lost.
For maximum performance, it is recommended to optimize the number of record to be acquired
before the readout starts (
NumRecordsToAcquire
). Typically, if the number of samples per record
is low, reading several records in one single Direct Memory Access (DMA) optimize the DMA
transfer. There is a compromise between memory readout frequency and PCIe delay.
(Recommendation is to set the number of record before readout to reach around 1 MB of data).
It is recommended to set the
NumRecordsToAcquire
to a value close to 1 MB/(Record size).