AlazarSetRecordSize

Function Syntax

RETURN_CODE AlazarSetRecordSize(HANDLE handle, U32 preTriggerSamples, U32 postTriggerSamples)

Set the number of pre-trigger and post-trigger samples per record.

Remark

The number of pre-trigger samples must not exceed the number of samples per record minus 64.

Remark

The number of samples per record is the sum of the pre- and post-trigger samples. It must follow requirements specific to each board listed in the board-specific documentation.

Return

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

Parameters
  • [in] handle: Board handle

  • [in] preTriggerSamples: Number of samples before the trigger position in each record.

  • [in] postTriggerSamples: Number of samples after the trigger position in each record.

LabVIEW Block Diagram

../_images/AlazarSetRecordSize.vi.png