View source for HANtune/Logging
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
Template used on this page:
Return to HANtune/Logging.
You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Administrators, Bureaucrats.
You can view and copy the source of this page.
Template used on this page:
Return to HANtune/Logging.
HANtune has the option to write and read data received from target communication into a log file. The logged parameter values are written into a .csv file.
To start logging incoming signal values, enable it by going to Communication→Enable Datalogging or click on the log file button at the bottom status bar:
When logging is active, the log file button will display the logfile name:
Pressing this button again will stop logging.
The first part of the name of the log file can be changed by going to Communication→Modify Datalog Filename. The current date and time will automatically be appended to the filename each time a new logging is started.
The log file will (by default) be saved in the “log” subfolder in the HANtune folder. If desired, this folder can be changed by going to Preferences→User Preferences. Type or browse your desired folder in the Log Location field.
Using a spreadsheet capable of reading .csv format, you can examine the contents of a log file.
A log file consists of two parts: a log header and log data values. Both are in human readable format. The header contains additional information as:
Next to the header, the actual log values are written into the file. Each line starts with a timestamp (in Seconds), followed by all the values of the signals received at that time. Each signal value is separated by a semicolon (;). A dot (.) or a comma (,) denotes a decimal separator (depending on your locale settings). A thousands separator is not used in HANtune logfiles.
HANtune is capable of reading and showing signal values of a previously recorded logfile. The content of that logfile will be displayed on the signal elements on screen.
To start reading a logfile go to File→Read Logfile... and select the desired logfile. After selecting a logfile, a dialog will appear on the HANtune screen:
This dialog will enable you to navigate within the selected logfile. When moving around within the logfile, the signals on the HANtune screen will update with the values from the logfile at the location displayed at the timestamp.
HANtune can read a log file, while - at the same time - logging data into the file. Using this feature, you can read a logfile at any position in the file, while data is appended to the same file when incoming signals are received from the target.
To start Read-while-write, activate File→Enable Read while write log. Make sure Communication→Enable Datalogging is also activated or click on the log file button at the bottom status bar:
When connected to the target the Read-while-write dialog will be displayed: