Using the Chart

Video version

Video duration : 4'14

 

Text version

Now that you have finished customizing the Control Panels, let’s plot the IO values.

HITIPanel can plot up to 12 data versus time or date at the same time. Data can be I/O, HITI Data, or System data (loop cycle time, free RAM). It is also possible to save acquired data, reload them for further analysis, or export them to Text or Excel file.

 

1) Configuring the Chart

  1. Open the Chart (CTRL+T or Tools\Chart).
    image074.png

  2. Open the Chart Configuration.
    image076.png

  3. Enter “My first chart” as a title for your chart.
    chart-title.png

  4. In the X AXIS panel, set the sampling rate to 100ms. This means that data will be acquired every 100ms. The smallest sampling rate you can select is 10ms. However, when choosing a sampling rate, always take the highest value you need for your measurement to limit the quantity of acquired data.
    sampling-rate-x-axis-panel.png

  5. Keep “Time” as a Unit.
    time-unit.png

  6. Configure the Display Range to be the Last 5 seconds. This means that the Chart will display only the last 5s of the acquisition. If you set it to “All”, the Chart will display all values from the beginning of the acquisition.
    display-range-configuration.png

  7. In the Y AXIS panel, click on the “+” button to add a data.
    add-date-y-axis-panel.png

  8. Click on “+” once again to add a second data.
    add-second-data.png

  9. Keep “Data” as IO and “Type” as Digital I/O for both data.
    keep-io-data-digital-io-type.png

  10. Select index 3 for the first data. This automatically selects pin 3 and recognizes that this pin is configured as a DIGITAL INPUT. It also set the pin Label as the curve title.
    select-index-3-first-data.png

  11. Select index 13 for the second data. This automatically selects pin 13 and recognizes that this pin is configured as a DIGITAL OUTPUT. It also set the pin Label as the curve title.
    select-index-13-second-data.png

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

NOTE 1

When the chart 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 “Clear” in the Configuration Dialog. Be aware that this action clears the configuration and erases all acquired data.

NOTE 2

If you selected a Sampling Rate of less than 50ms, only data 1 to 4 will be able to follow this rate. The other data will be limited to 50ms.

 

2) Acquiring data

  1. Start data acquisition.
    image089.png

  2. According to our configuration, data values are plotted every 100ms and only the last 5s are displayed. Moreover, the Acquisition Indicator is blinking red, and the Acquisition Time is displayed.
    image090.png

  3. Toggle the switch and watch its state on the Chart. Digital values are either 0 or 1.
    image092.png

  4. Using the Command Panel of pin 13 (in the DIGITAL I/O Control Panel), turn the LED on and off and watch its state on the Chart.
    turn-led-on-off.png

    image095.png

  5. Open the Chart Configuration. In the X AXIS panel, change the Display Range to “All” to display all values from the beginning of the acquisition, and click “OK” to validate.
    image097.png

    image099.png

  6. Stop data acquisition.
    image101.png

 

3) Analyzing your data

  1. Zoom in with your mouse using either of these 2 options :
    • Point and scroll up on the area you want to zoom in
    • Drag-and-drop to select the area you want to zoom in
      image103.png

      image105.png

  2. Display a point coordinate by putting your mouse over this point. In our example, the point is at coordinate (X: 0m 25s 500ms, Y: 1).
    image107.png

  3. Zoom out using either of these 2 options:
    • Point and scroll down with your mouse on the area you want to zoom out
    • Click on “Reset Zoom” (this button appears only in zoomed state)
      image109.png

 

4) Saving the Chart

  1. Save your Chart. You can do this at any time, even during data acquisition.
    image110.png

  2. In the dialog box that appears, select a location where to record the chart (.hic).
  3. Later, you can re-open this Chart for further analysis.
    image111.png

 

5) Exporting your data

  1. Export your acquired data. You can do this at any time, even during data acquisition.
    image113.png

  2. In the dialog box that appears, select a location where to record your data and select a file format:
    • Excel file (.xlsx)
    • Text file (.txt)
    • Image (png, jpg, gif, bmp)
      image115.png

 

Was this article helpful?
0 out of 0 found this helpful