<?xml version="1.0" ?>
<LogAnalyzerConfig>
    <!-- Text Log Parsing Config -->
    <ParseConfig>
        <!-- General Items -->
        <!-- Refer to https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
              for the time format string in absolute time; Leave it empty to represent relative time,
              and the format is in seconds, seconds.miliseconds or seconds.microseconds -->
        <Timestamp regex="[0-9]{2}/[0-9]{2}/[0-9]{2,4}-[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}"
                   format="%m/%d/%Y-%H:%M:%S.%f"/>

        <Entry key="POWER_SUPPLY_VOLTAGE_NOW" label="POWER_SUPPLY_VOLTAGE_NOW" delim="=">
            <Param name="POWER_SUPPLY_VOLTAGE_NOW"/>
        </Entry>
         <Entry key="POWER_SUPPLY_CURRENT_NOW" label="POWER_SUPPLY_CURRENT_NOW" delim="=">
            <Param name="POWER_SUPPLY_CURRENT_NOW"/>
        </Entry>
    </ParseConfig>
    <!-- Plot config -->
    <PlotsCollection>
        <Group>
            <!--Group ID, this can be number or string. GroupID will be the name of the worksheet in the spreadsheet -->
            <GroupID>PMIC</GroupID>
            <!--Plot #1-->
            <Plot>
                <Title>Voltage vs. time</Title>
                <Y-Axis>
                    <!--Data Series showing on Y-Axis,
                        Putting 2 on AxisGroup
                        if the series need to plot-on secondary Y-Axis-->
                    <DataSeries>
                        <SeriesName label="USB" param="POWER_SUPPLY_VOLTAGE_NOW"/>
                        <AxisGroup>1</AxisGroup>
                    </DataSeries>
                    <!--Axis Config - Primary-->
                    <AxisConfig>
                        <Label>Supply Capacity</Label>
                        <MajorTick></MajorTick>
                        <MinorTick></MinorTick>
                        <MaxValue></MaxValue>
                        <MinValue></MinValue>
                    </AxisConfig>
                </Y-Axis>
                <!--Data Series showing on X-Axis,
                    Support only one X-Axis Data Series only-->
                <X-Axis>
                    <DataSeries>
                        <SeriesName label="timestamp" param=""/>
                        <AxisGroup>1</AxisGroup>
                    </DataSeries>
                    <AxisConfig>
                        <Label>Time [seconds]</Label>
                        <MajorTick></MajorTick>
                        <MinorTick></MinorTick>
                        <MaxValue></MaxValue>
                        <MinValue></MinValue>
                    </AxisConfig>
                </X-Axis>
            </Plot>
            <!--Plot #2-->
            <Plot>
                <Title>Current vs. time</Title>
                <Y-Axis>
                    <!--Data Series showing on Y-Axis,
                        Putting 2 on AxisGroup
                        if the series need to plot-on secondary Y-Axis-->
                    <DataSeries>
                        <SeriesName label="USB" param="POWER_SUPPLY_CURRENT_NOW"/>
                        <AxisGroup>1</AxisGroup>
                    </DataSeries>
                    <!--Axis Config - Primary-->
                    <AxisConfig>
                        <Label>Current</Label>
                        <MajorTick></MajorTick>
                        <MinorTick></MinorTick>
                        <MinValue></MinValue>
                        <MaxValue></MaxValue>
                    </AxisConfig>
                </Y-Axis>
                <!--Data Series showing on X-Axis,
                    Support only one X-Axis Data Series only-->
                <X-Axis>
                    <DataSeries>
                        <SeriesName label="timestamp" param=""/>
                        <AxisGroup>1</AxisGroup>
                    </DataSeries>
                    <AxisConfig>
                        <Label>Time [seconds]</Label>
                        <MajorTick></MajorTick>
                        <MinorTick></MinorTick>
                        <MaxValue></MaxValue>
                        <MinValue></MinValue>
                    </AxisConfig>
                </X-Axis>
            </Plot>
        </Group>
    </PlotsCollection>
</LogAnalyzerConfig>