Scripts can now use types defined in the System.Threading.Tasks namespace without specifying the fully qualified namespace.
This release also extends the expiry date of the trial to June 30, 2022. If you already have a previous version of 232key Pro installed, a prompt to download the update will be displayed upon launch. You can also get the new release from our download page.
This version comes with a new device profile for DINI ARGEO indicators, which also includes the command to request the weight:
It extends the expiry date of the trial to May 31st, 2022. If you already have a previous version of 232key Pro installed, a prompt to download the update will be displayed upon launch. You can also get the new release from our download page.
This version introduces two new variables which are made available to your script. When 232key Pro receives data from the connected device, it tries to match a regular expression. The string matched by the first capturing group is stored in a variable named value.
The following additional variables were introduced in this version:
- valueDouble: contains the value string converted to a Double or null if no conversion was possible.
- valueDecimal: contains the value string converted to a Decimal or null if no conversion was possible.
Data received from the scale:
S S 5.000 kg<13><10>
Captured in value string:
Script to output the weight only if it is greater than 0.1 kg:
if (valueDecimal>0.1m) return valueDecimal.ToString();
Output (note: valueDecimal preserves any trailing zeros, valueDouble does not):
Includes an updated C# scripting package. Download the software here or – if you have already installed it – simply launch it and choose to apply the update.
Previous releases since 0.8.4 only updated the expiry date for the trial version.
This release includes an updated C# scripting package.
Previously released version 0.8.3 fixes a bug which prevented the function keys F2 to F12 from working in GIDEI mode.
This version of our scriptable virtual keyboard wedge fixes two issues:
- If a hotkey has been defined, it is now correctly unregistered when the program stops due to a script or connection error.
- Scripts now run under the invariant culture by default. This is particularly important for numeric conversions.
Kern Communications Protocol (KCP) is a bi-directional protocol available on more and more Kern scales. Version 0.8.1 of 232key Pro allows you to select a “Kern KCP” device in the Input tab and to easily set the “SI” command (“send immediately”) in the Control tab to request the weight:
Further information on the Kern Communications Protocol can be found in this PDF document.
Kern has also produced a video showcasing the protocol (using their BalanceConnection software, not 232key Pro):
Many scales support a bidirectional communication mode: A command is sent from the PC to the device to query the current weight. This is also referred to as polling.
In 232key Pro, a hotkey (keyboard shortcut) is used to trigger the command. After 232key has received and processed the reply, it is entered into the target application:
The advantage of this method is that the user does not have to press a button on the scale itself.
Please note that not all scales support command mode and that you may need to configure your scale to enable it. Different scales also use different commands. As shown in the screenshot below, you can enter any command (using hexadecimal notation) or set a predefined command by clicking the Set default command button (if available). Please refer to the manual of your scale to find out which commands it supports.
In version 0.8.0 it is now possible to use individual keys such as F5 as hotkeys (previously, only key combinations including a modifier key were supported):
Some keys may be reserved by the operating system or other applications. Setting such a key will result in an error.
We’ve included a device profile for the very affordable MyWeigh UltraShip-U2 scale in this release of our software.
- Only models which appear as a virtual COM port when connected to the computer are supported (this is not the case for earlier versions of this scale):
- This scale only sends the weight when the SEND button is pressed. It is not possible to use polling:
In the Control tab in 232key Pro, you can define a keyboard shortcut (hotkey) which sends a command to the connected device:
Release 0.7.6 shows a more useful error message if you press the hotkey before a connection has been established: