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.

Parameters:
  • handle[in] Board handle

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

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

Returns:

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

LabVIEW Block Diagram#

../_images/AlazarSetRecordSize.vi.png