Configuring the Chart

Modified on Fri, 30 Dec 2022 at 04:07 PM

Open the Chart Configuration Dialog box.

 


 

Chart title

Enter a title for your chart.


 


X axis


Sampling Rate

Select a Sampling Rate. This is the rate at which new data is acquired and added to the Chart (e.g. 2s means new data is added every 2 seconds). The smallest sampling rate you can select is 10ms.


When choosing a sampling rate, always take the highest value you need for your measurement to limit the quantity of acquired data. HITIPanel limits this quantity to 800MB and will stop acquisition automatically when this size is reached. A max continuous acquisition duration is displayed accordingly. This max duration depends on the sampling rate and the number of data selected for the Y axis.



Moreover, for Sampling Rate smaller than 50ms, only the first 4 data selected for the Y axis will be able to follow this rate due to serial communication speed limitation. Sampling Rate for the other data selected will be restricted to 50ms. 



Timeline

Select a Timeline option :

  • Duration (duration from the start of the acquisition)
  • Date (timestamping with date and time). Select a Min Unit to display as well (e.g. selecting Days will force Days and lower units to be displayed)




Display Range during acquisition

Select a Display Range. During acquisition, the Chart displays only the last acquired data in a specified range. For instance, a display range of 5 seconds means only data acquired in the last 5 seconds will be displayed. This display range is limited to a max value to limit CPU usage (Max allowed). This max value depends on the sampling rate and the number of selected data for the Y axis.

  • Max : Use the max display range possible.
  • Last : Specify the display range 




Y axis


1) Click on +/- to add/remove a data to the Chart


2) For each data, select a Data, its Type and Index (if applicable) :


  • IO
  • Digital I/O : IO type is automatically recognized (input or output, output type, servo…)
  • Analog Input
  • HITI
  • Digital Data
  • Analog Data
  • SYSTEM
  • Free RAM : Free RAM measured by one of the 3 probes. See section Identifying SRAM shortage to learn more about it.
  • Loop cycle time (us) : Time that take your Arduino to complete one loop() cycle. See section Improving your Arduino responsiveness to learn more about it.


3) For each data, set or change Ymin and Ymax (if applicable).



Leave it empty or write “-“ to activate auto-scaling. In the following example, auto-scaling is activated for Ymax :


 

 

Validate/Clear config

Click “OK” to validate the configuration. Back to the Chart window, the Configuration Indicator has turned green to indicate that the Chart is configured.



Once your chart config is configured:

  • The following config parameters can still be changed at any time, even during data acquisition:
  • Chart title
  • X axis unit
  • X axis display range
  • Y axis min and max values
  • The other config parameters can no longer be changed, and you can no longer add or remove data as well, unless you click on button “Clear” in the Configuration Dialog box. Be aware that this action clears the configuration and erases all acquired data.







 

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article