Waveform Data Command
The BUF command allows to access the metrology samples being captured and processed. The metrology library must be previously configured through the control registers: CAPTURE_CTRL, CAPTURE_BUFFER_SIZE, and CAPTURE_ADDR. Refer to the “PIC32CXMTx Metrology Reference Guide” (DS50003461) and the “Microchip PIC32CXMTx Metrology User Guide” (DS50003460) for additional information.
If the command is sent without a parameter, the Demo Meter Application returns all the data in the buffer. If the command includes a parameter (for example, BUF[2]), only a 512 sample set is returned. The parameter indicates the index of the set of samples (BUF[0] returns samples 0 to 511, BUF[1] returns samples 512 to 1023, and so on).
; Read out the captured waveform data
BUF
Waveform Capture Data:
A4865843
6C875498
23843F36
96636D63
...
42367B13
32436C32
