1.1.4.30 DRV_METROLOGY_CaptureSetOptions Function
C
void DRV_METROLOGY_CaptureSetOptions(DRV_METROLOGY_CAPTURE_SOURCE source, DRV_METROLOGY_CAPTURE_TYPE type);
Summary
Set the configuration options of the waveform capture process.
Description
This routine configures the metrology library to set the source and type of the waveform capture process.
All captured data is after Vref compensation was applied and are scaled values (normalized by the appropriate K_Ix and K_Vx).
In the case of 16 kHz sampling data, the calibration constants are not applied.
Parameters
| Parameters | Description |
|---|---|
| source | Capture Source Select. See DRV_METROLOGY_CAPTURE_SOURCE Enum for details. |
| type |
Selects whether capture is one-shot or continuous capturing. See DRV_METROLOGY_CAPTURE_TYPE Enum for details. |
Returns
None.
Example
DRV_METROLOGY_CaptureSetOptions(CAPTURE_SRC_16KHz, CAPTURE_ONE_SHOT);
Remarks
None.
