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
  • [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

../_images/AlazarGetMaxRecordsCapable.vi.png