To view and collect results data over time, click the (Results Data) icon on the menu to the left. Figure 3-11 shows part of
the results data page for reference, which can look different depending on the
number of connected EVMs.
Below is a description of how to use the buttons and settings at the top of the Results Data tab and next to each plot:
- Results to collect/show
- Number of EVMs
- Set the Number of EVMs drop-down menu to the number of EVMs currently
in use.
- See Figure 2-2
for how to attach multiple EVMs together.
- Changing this here also changes the same
setting in the Configuration tab.
- The GUI only supports up to 4 INA219EVMs at a time.
- Switch settings
- Use the onboard switches to select a
different address for each EVM.
- Set the switch
settings in the GUI to match the setting for each connected
EVM.
- EVM 1 automatically populates
with the lowest addressed device unless a setting has
already been selected.
- Changing this here also changes the
same setting in the Configuration tab.
- If more than one
device is being used, then an asterisk symbol (*) appears next
to the selected EVM that is being used on the Registers and
Configuration tabs.
- Changing the switch settings of any
EVM sets that EVM as the selected EVM.
- Collect/Plots settings
- Collect Data
- Press the COLLECT DATA button to
start data collection.
- In this mode, the
MCU reads and sends the selected result values for each device
over a USB BULK channel. All results from one device are read
before moving on to the next device.
- All result values from all EVMs
together are considered one "sample set".
- Although the user can read and write to
other registers through the Registers tab while collecting data,
this can add a delay to the data being collected.
- Press the STOP COLLECT button to stop
collecting data.
- #Samples Only
- If this checkbox is selected, then the GUI
automatically stops collecting data after the number of samples
specified in the #Samples box have been collected.
- If not selected, then the GUI continues
collecting data and only stores the most recent #Samples.
- Delay between samples
- Sets the delay
between the start of each sample set.
- Desired delay time is not obtainable if set
faster than the read loop, which depends on the number of
results being collected, the number of EVMs, and the CPU being
used.
- Although the user can read and write to
other registers through the Registers tab while collecting data,
this can add a delay to the data being collected.
- Auto Delay
- Sets delay based on conversion times,
averaging, and number of channels being converted.
- If multiple EVMs are being used, then the
time put in the delay box is from the EVM with the shortest
calculated delay value.
- Save All Plots
- Press the SAVE ALL PLOTS button to
save the data for each currently selected result from the
Results to collect/show section in a
spreadsheet.
- Press the SAVE PLOT button next to
each plot to save just the data from that plot in a
spreadsheet.
- Clear All Plots
- Press the CLEAR ALL PLOTS button to
clear the data from all plots together.
- Press the
CLEAR PLOT button next to each plot to clear the data
from just that plot.
- #Samples
- Change the number in this box to change the
number of samples shown in each plot.
- Changing this number clears out the
plot buffers, so the plots are cleared on the next
read.
- Y-Axis Options
- Manual Scale
- Checking this box sets all EVM
results in this plot to the same scale value specified
by the Max and Min fields.
- When this is not selected, each EVM
has a separate Y-axis scale based on the minimum and
maximum values currently in the plot for that EVM.
- Max
- The maximum Y-axis value to use for
all EVMs in this plot.
- If this field is empty when Manual
Scale is selected, then the plot auto-populates with the
maximum value currently in the plot.
- Min
- The minimum Y-axis value to use for
all EVMs in this plot.
- If this field is empty when
Manual Scale is selected, then the plot
auto-populates with the minimum value currently in the
plot.