Function Syntax

RETURN_CODE AlazarGetMaxRecordsCapable(HANDLE handle, U32 samplesPerRecord, U32 *maxRecordsPerCapture)

Calculate the maximum number of records that can be captured to on-board memory given the requested number of samples per record.


ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.


This function is part of the single-port API. It should not be used with AutoDMA API functions.

  • [in] handle: Board handle

  • [in] samplesPerRecord: The desired number of samples per record

  • [out] maxRecordsPerCapture: The maximum number of records per capture possible with the requested value of samples per record.

LabVIEW Block Diagram