Version 0.9.0 – combine multiple lines into one row

With the new features in version 0.9.0, Simple Data Logger takes a big step towards the release of version 1.0 (planned for next Monday).

Combine multiple lines into one row

This is best explained with an example: We’re using a counting scale and it sends the (net) weight, count and average piece weight to the PC (each in a separate line):
Multiple lines received from counting scale

While we want to capture all of these values, we do not want them to appear in individual lines (rows) in our CSV file. Instead, these three values should be written into one row (as three columns).

This is now possible with Simple Data Logger by using the Combine setting in the Process tab:
Process tab

The result is one row containing three values:
3 lines combined into one row
Without this setting, the values would have been written into three separate rows:
3 separate rows

Ignore “empty” lines

In the example above, you may have noticed that the counting scale sent a fourth line containing only the carriage return and line feed characters. By selecting “Ignore received lines consisting only of white-space characters“, we don’t have to consider this row when setting the desired number of columns.

This settings also affects synchronized polling with a delay: “empty” lines are not considered to be an answer from the device and do not prompt SDL to repeat the polling command.

Show sent data in the event log

Until now, only data received form the connected device was shown in the event log even though SDL already had the ability to send commands. This sent data is now shown in green (the screenshot also shows the reply from the scale and the captured weight value):
Event log with sent dataYou can change this behavior in the Settings tab:
Settings tab

Line numbers and custom comments

SDL can add line numbers as well as a custom comment (e.g. the project or sample name) to each row. You’ll find these settings in the File tab:
Add additional informationResult:
Line numbers and comment

Bug fixes and UI improvements

We’ve fixed a bug which caused SDL to stop data collection when a number conversion error occurred. The error is now logged, but SDL does not stop.

We’ve also harmonized the positioning and margins of the user interface elements to make SDL easier and more pleasant to use.

Leave a Reply

Your email address will not be published. Required fields are marked *

The maximum upload file size: 7 MB. You can upload: image. Drop file here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

One thought on “Version 0.9.0 – combine multiple lines into one row”