9.3.4 Use an SCVD File to Format Data
An SCVD (*.scvd) file is used to convert received values in the Event Recorder into human-readable information. The file is in XML format and mostly compatible with the ARM SCVD file (Only part of corresponding SCVD features in Arm® are implemented in MPLAB X IDE.)
An example SCVD file is show below, with sections explaining the XML components.
<?xml version="1.0" encoding="utf-8"?> <component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd"> <component name="MyExample" version="1.0.0"/> <!-- name and version of the component --> <events> <group name="My Events Group"> <component name="MyApp" brief="My Application" no="0x4A" prefix="EvrNetMM_" info="Network - System - Dynamic Memory Management"/> </group> <event id="0x4A01" level="API" property="MyFunctionAPI" value="parameter=%x[val1]" info="Event on start of MyFunction" /> <event id="0x4A02" level="Error" property="MyFunctionError" value="error=%x[val1]" info="Event on error in MyFunction" /> <event id="0x4A03" level="Op" property="MyFunctionProcess" value="string=%t[val1]" info="Event on operation in MyFunction" /> </events> </component_viewer>