Opening/importing data

Modified on Wed, 4 Jan, 2023 at 8:06 PM

You have 2 options to open/import data and load them to the Chart.




Opening a Chart file

If you performed several acquisitions (from a same Project), you probably saved them in Chart files (.hic).


1) Load data from a Chart file.

 


2) In the dialog box that appears, select the location of the Chart file.




Importing from text files

Use this option if you want to import :

  • Data from a text file that was previously exported from HITIPanel.
  • Data from one or several text files that were created from a data logger.



Text file format

The text file must have the following format :

  • Delimiter/separator character is Tab
  • The first line contains headers
  • The next lines contain data


Headers
  • First Header : DateTime
  • Next headers : DataType i[DataName (unit)]
    • DataType => “DI”, “DO”, “AI”, “AO”, “DD”, or “AD”
    • i => Data index (any positive integer, including 0)
    • DataName (unit) => User chosen


Data
  • First data : Date Time (in ISO 8601 format)
    • yyyy-MM-ddTHH:mm:ss.SSS
  • Next data : Data i (must be a number).
    • Boolean => 0 or 1
    • Integer
    • Float => decimal separator is the dot (.)


Example

Here is an example of the content of a text file:


DateTime            AD1[sensor 1 (in mm)]  AD2[sensor 2 (in mm)]  DO0[motor ON]               DO1[object detected]

2022-11-01T22:05:40.410             167.1     23.1       0             0

2022-11-01T22:05:40.420             167.6     42.1       0             0

2022-11-01T22:05:40.430             164.1     54.1       0             0

2022-11-01T22:05:40.440             163.4     85.1       0             0

2022-11-01T22:05:40.450             167.8     1000      0             0

2022-11-01T22:05:40.460             147.9     50.5       0             0

2022-11-01T22:05:40.470             137.7     1550      0             0

2022-11-01T22:05:40.480             110.9     96.4       1             0

2022-11-01T22:05:40.490             100.4     72.5       1             0

2022-11-01T22:05:40.500             90.11     520.4     1             0

2022-11-01T22:05:40.720             80.12     524.1     1             0

2022-11-01T22:05:40.730             90.12     400.5     1             0

2022-11-01T22:05:40.740             130.4     300.4     1             0

2022-11-01T22:05:40.750             167.1     200.4     0             1

2022-11-01T22:05:40.760             180.1     250.6     0             1



Import your data

1) Import data from one or several text files.



2) In the dialog box that appears, select the location of the first text file.

3) In the second dialog box that appears, choose if :

  • You want to import only the text file you selected
  • You want to import all the other text files as well that are placed in the same folder as the selected file.


 

 

 



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 at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article