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