Some scales and balances can only send data continuously, which means you get a constant stream of weight values at rates of typically 5 to 10 values per second. SDL can easily keep up with these rates, but if you don’t really need that many values, it would be better if it could ignore most of them.
This is where the new filtering function comes into play:
In the screenshot above, we set SDL to record one line for every 10 received lines (and ignore the rest). Assuming that your scale sends 10 values per second, SDL would now only record one value per second.
Start data logging with program start*
If you enable this function, SDL will connect to your measurement device on the last used port and start data logging automatically when the program is started: This eliminates the need to press the start button.
*These features require a paid Plus license.
Request features and vote for those we should prioritize
Behind the scenes, the core functionality of SDL has been reorganized and is now more modular, testable and expandable. This means that we can add new features more easily, while knowing that they will not affect the existing functionality of the program.
The new architecture enabled us to find and fix two somewhat exotic bugs:
Data logging can now be stopped automatically if the measurement value is less than or greater than the limits entered in the control tab or if a certain number of lines has been written to the CSV file:
Auto-stop example 1
You’re using a scale to measure the amount of liquid draining from a test object over several hours and you only want to capture the measuring values up to a certain limit. You can enter this limit in the “value greater than” field.
Auto-stop example 2
You want to open the CSV file in Microsoft Excel and do not want to exceed the maximum number of rows (1048576):
A timer to stop data acquisition is also still available (as in the previous versions).
“Ohaus SPU, TA, NV” default polling command can now be set by pressing the command button in the control tab.
Pressing the reset button in the settings tab will correctly reset everything (except for licenses) and these default settings will be loaded when you restart the application. Previously, SDL would incorrectly revert to the settings of a previously installed version (if present).
Further improvements in Simple Data Logger version 1.2.0:
On high DPI displays, the licensing tab contents are now resized correctly.
The TCP/IP protocol setting has been removed (it will be reintroduced when we add support for protocols other than ASCII/”raw TCP”), which enabled us to decrease the vertical size of the application window.
Minimum window sizes have been increased to ensure the application is still usable.
A warning is shown in the event log when polling is enabled, but no polling command has been entered.
An update notification is now shown in the status bar when a new version is available.
Note: If you’re already using Simple Data Logger, you may have to update manually to use the new features. Normally, the ClickOnce version can update automatically but we disabled this by mistake in the previous release. Simply go to the download page and click on install.
Simple Data Logger just became significantly more powerful (and useful): You can now modify the regular expression used to match and capture data.
This is best explained with an example. Let’s say your scale sends the following data every time you press the print button:
Balance ID: 8336507294
Balance Type: STX421
Balance Name: Scout
Sample Name: OBJECT 1
Gross: 123.4 g G
Net: 123.4 g N
Tare: 0.0 g T
However, you actually only want to record the net weight. This can now be achieved in SDL by clicking on the customize button in the device tab:
Adding “Net:\s*” ahead of the original regular expression ensures that only lines where these characters appear before the weight are matched. SDL then uses a capturing group (subexpression) to capture the numeric value (weight).
SDL always captures the data matched by the first subexpression. You must therefore include a subexpression (in parentheses) in your regular expression.
As of version 0.2.0, our Simple Data Logger software can communicate with Ohaus scales and balances equipped with an Ethernet interface. The Ethernet interface is a convenient substitute for the dated RS-232 interface.
In the Device tab, simply select “TCP/IP” and enter the IP address of your scale:
Please note that the Terminator setting from the COM port group (above) is also used for TCP/IP connections. We’ll update the user interface in a future release to make this clearer.