Import

This section explains how to import data into the currently opened go file.

Note:

Some optional functions may not be available, depending on your type of license.

To import files, the Data Organization Button is used. This button is a so-called split button. Click on the lower part of the button to fold out a drop-down menu where you can select the required function. Press the upper part of the button, the so-called Action Button, to execute the function.

What are you looking for?

Txt File

Layout of the txt file

This function is interesting for importing e.g. data of external devices, which is available as text file. To import the columns of the text file as new data channels in the Moticon Science Software, the text file's header must look like this:

# time: dd.mm.yyyy hh:mm:ss.fff
# name: <group_name>
# channel: <channel1>, <unit1>
# channel: <channel2>, <unit2>

The first line contains the time stamp of the measurement. The second line indicates the group channel name, and the last line lists the channel names. These names can be arbitrarily chosen.

Moticon Science Software has two modes for displaying data in the Line Graph widget. The above header will display data as lines. A second mode for displaying requires the following text file header. It only allows for a single group, which must contain the two channels "type" and "label" (with unit "str"):

# time: dd.mm.yyyy hh:mm:ss.fff
# name: <group_name>
# type: event
# channel: type
# channel: label, str

This header will display every single data value as a point, optionally accompanied with a text label.

Below the head follows the table of the channel values.

ss.fff  value_channel1  value_channel2

Each column represents one data channel. Please note that the first column isn't explicitly mentioned above in the channel name line. However, this column is vital to correlate time axis and channel values. It contains the time in seconds (example: 63.245) relative to the start time of the data in the text file, as defined in the text file's header. All following tab-separated columns contain the channel values at the respective point of time.

Here is a complete sample text file, to be imported as line data:

# time: 19.09.2015 12:01:28.536
# name: Wireless acceleration sensor
# channel: acc_x, g
# channel: acc_y, g
# channel: acc_z, g
# channel: transmission quality
0.010  0.43  0.31  -0.11  98
0.020  0.37  0.11  0.18  95
0.030  0.15  0.20  0.11  96
0.040  0.20  0.43  0.11  98
0.050  0.26  0.67  0.11  99
0.060  0.08  0.45  0.11  99

And here is another complete sample text file, to be imported as labeled events:

# time: 19.09.2015 12:01:28.536
# name: Data annotations
# type: event
# channel: type
# channel: label, str
00.438  1  some comment on motion
02.021  2  text may contain spaces
12.185  15
15.677  16  text is optional
16.153  11  value (here 11) is shown on y-axis

Note:

You can also import files generated by the external Event Logger app installed on your Android smartphone. This app simply records event data (timestamp, event specification) and offers the opportunity to export the data as txt file. You can import this file even though it has a different structure than the example above. Therefore, please make sure to include the string "eventlogger" in the filename. Then simply follow the instructions described below.

Importing instructions

  1. Select the measurement to import data into.
  2. Select the function 'Import .txt' in the drop-down menu.
    s_dropdown_txt
  3. Press the Action Button of the Data Organization Button.
    action_button
  4. The file explorer of your operating system pops up.
    file_explorer_txt
  5. Select the txt file you wish to import.
  6. The file is automatically imported and aligned with the sensor insole data.
  7. To display the imported channels, activate them in the Line Graph widget settings. In case you're not familiar with these steps, follow this link for further information.

Go File

A go file is the type of file the Moticon Science Software uses to save your measurements on the local hard drive.

Importing instructions

  1. Select the function 'Import .go' in the drop-down menu.
    s_dropdown_go
  2. Press the Action Button of the Data Organization Button.
    action_button
  3. The file explorer of your operating system pops up.
    file_explorer_go
  4. Select the go file you wish to import.
  5. The file is automatically imported to your measurement tree as a new folder.

Dat Files

The dat files represent the raw data which is stored on the integrated memory of the sensor insoles. There are always two of them belonging together - one for the left sensor insole and one for the right sensor insole. Every time a download is performed, both of them are automatically stored in the 'Cache' folder of the software on your computer.

There may be situations where you wish to restore downloaded data which has already been deleted from the sensor insoles. Use the dat files import to do so.

Importing instructions

  1. Select the function 'Import .dat' in the drop-down menu.
    s_dropdown_dat
  2. Press the Action Button of the Data Organization Button.
    action_button
  3. A dialog pops up.
    dat_import
  4. Please click on 'Select left .dat file' to import the dat file for the left sensor insole.
  5. The file explorer of your operating system pops up, showing the Cache folder containing the dat files. The file names carry the date and time of the sensor insole download, and the sensor insole ID.
  6. Please select the dat file of the left sensor insole.

    Note:

    The fifth position of the sensor insole ID indicated the insole's type: '0' means this is a left sensor insole. '1' means this is a right sensor insole.

  7. Repeat steps 4-6 for the right sensor insole.

  8. Once you selected both dat files, start the import by clicking 'Start Import'.
  9. The files are automatically imported and stored in a separate folder named yymmdd-hh:mm:ss Download, in the very same way as if you had downloaded the raw data directly from the sensor insoles.