To view and collect results data over time, click the (Results Data) icon on the menu to the left. Figure 4-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
- Use this section to select which register values to collect data for. If a results register is unselected before the COLLECT DATA button is pressed, then the plot below is hidden and the EVM does not try to read this register during the collect cycle (even if the conversion is enabled).
- If one of these settings is disabled while the EVM is collecting data, then the plot does not show, but data is still collected and the plot updates in the background. Reselect to show data.
- Number of EVMs
- Set the Number of EVMs drop-down menu to the number of EVMs currently in use.
- See Figure 3-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 INA220EVMs 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 pages.
- 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 page 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 store 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 your CPU.
- Although the user can read and write to other registers through the Registers page 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 maximum value auto-populates 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 minimum value auto-populates currently in the plot.