1.1.4.30 DRV_METROLOGY_CaptureSetOptions Function
C
Returns
void DRV_METROLOGY_CaptureSetOptions(DRV_METROLOGY_CAPTURE_SOURCE source, DRV_METROLOGY_CAPTURE_TYPE type);SummarySet the configuration options of the waveform capture process.
DescriptionThis 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| Param | 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. |
None.
ExampleDRV_METROLOGY_CaptureSetOptions(CAPTURE_SRC_16KHz, CAPTURE_ONE_SHOT);RemarksNone.
