AlazarGetMaxRecordsCapable#
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.
Note
This function is part of the single-port API. It should not be used with AutoDMA API functions.
- Parameters
handle – [in] Board handle
samplesPerRecord – [in] The desired number of samples per record
maxRecordsPerCapture – [out] The maximum number of records per capture possible with the requested value of samples per record.
- Returns
ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.