Video duration : 4'14
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
- Open the Chart (CTRL+T or Tools\Chart).
- Open the Chart Configuration.
- Enter “My first chart” as a title for your chart.
- 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.
- Keep “Time” as a Unit.
- 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.
- In the Y AXIS panel, click on the “+” button to add a data.
- Click on “+” once again to add a second data.
- Keep “Data” as IO and “Type” as Digital I/O for both data.
- 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 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.
- Click “OK “to validate configuration. Back to the Chart window, the Configuration Indicator has turned green to indicate that the Chart is configured.
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.
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
- Start data acquisition.
- 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.
- Toggle the switch and watch its state on the Chart. Digital values are either 0 or 1.
- 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.
- 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.
- Stop data acquisition.
3) Analyzing your data
- 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
- 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).
- 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)
4) Saving the Chart
- Save your Chart. You can do this at any time, even during data acquisition.
- In the dialog box that appears, select a location where to record the chart (.hic).
- Later, you can re-open this Chart for further analysis.
5) Exporting your data
- Export your acquired data. You can do this at any time, even during data acquisition.
- 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)