1.1.4.58 DRV_METROLOGY_CAPTURE_TYPE Enum

C
typedef enum {
    CAPTURE_ONE_SHOT    = CAPTURE_CTRL_CAPTURE_TYPE_ONE_SHOT_Val,
    CAPTURE_CONTINUOUS  = CAPTURE_CTRL_CAPTURE_TYPE_CONTINUOS_Val,
    CAPTURE_TYPE_NUM
} DRV_METROLOGY_CAPTURE_TYPE;
Summary

Identify the type of the capture process.

Description
  • CAPTURE_ONE_SHOT captures total CAPTURE_BUFF_SIZE of future data. Capture will stop after capture finishes or is disabled.

  • CAPTURE_CONTINUOUS captures of waveform data in circular-buffer fashion. Capture will stop immediately after capture is disabled.

Remarks

When using Continuous capture, CAPTURE_OFFSET indicates the offset of latest sample in capture buffer. This offset can be obtained by DRV_METROLOGY_CaptureGetOffset() function.