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 Microchip “PIC32CXMTx Metrology Data Sheet” and the Microchip “PIC32CXMTx Metrology User Guide” 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 (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, etc.) .

; Read out the captured waveform data
BUF
Waveform Capture Data:
A4865843
6C875498
23843F36
96636D63
...
42367B13
32436C32