Release Notes
Version 1.0.0
The first version of LumiScan Script Runner.
-
HALCON procedures (
.hdvp) run on HDevEngine and are published as modules on LumiScan Keryx, underhdvisionsystems/lumiscan-script-runner/v1/. -
One typed node per value parameter and an image group per image parameter, generated from the procedure’s documented interface or from an interface file next to it. Descriptions, units, min, max and defaults are carried over; inputs start at their defaults; min and max are checked.
-
MVTec’s own procedures load from their documentation alone, also where it dates from before HALCON 18 and types a model as
integer: beside a handle label insem_typesuch a parameter is read as a handle, with a warning. -
The
runhandshake of API version 1 for every module, mapped one to one by a PLC function block. -
Groups with one worker thread and a store for HALCON handles and other values; bindings of each parameter to a node, the store or a fixed value;
startmodules that run once when their group starts. -
Interface hashes: a module is built only for its accepted interface hash, so a changed procedure never moves a PLC program’s nodes on its own.
-
Interface files built over the Data Layer:
v1/system/interface-scanlists the parameters still missing a type,interface-set-parametersets one,interface-loadtakes a file in, andinterface-savewrites<procedure>.interface.jsonand sets the accepted hash of the modules that run the procedure. The app has to be restarted to load the file. -
Output check after every run: an output that does not match the interface is never written.
-
Images Mono8, Mono12 (with a configurable shift), Mono16, RGB8 and BGR8 in, Mono8, Mono16 and RGB8 out.
-
The HALCON in use on the Data Layer:
v1/system/engine/gives its version, edition, revision, library and folder,v1/system/licenses/the HALCON licence in use, its type, validity, modules, expiry and host ID. -
Three example procedures, copied into an empty script folder at the first start:
add_valuesandcount_blobswith interface files, andconvert_length, whose HDevelop documentation carries its types. -
Runs on Windows 11 and Ubuntu 24.04.
-
Windows installer and a Debian package for Ubuntu 24.04. HALCON 22.11 is part of neither and is taken from its own installation. The Windows installer stops before installing anything unless the system environment variable
HALCONROOTis set andbin\x64-win64\halcon.dllexists in that folder. -
JSON schema of the application file, installed next to it, so an editor checks module names, interface hashes and misspelled keys.
-
HALCON 22.11 only (any 22.11.x). The app checks the release of the loaded HALCON libraries at start and stops with HALCON of another release; the Windows installer checks only that HALCON is installed.
-
Procedures as single files (
.hdvp); procedure libraries (.hdpl) are not loaded as modules. -
Modules are added, changed and removed in the application file; every change needs a restart of the app.
-
A module is called with the
runhandshake only; there is no single blocking call (invoke) and no image stream input yet. Thetriggerstreamand thestreamsection of the schema are reserved for that. -
Images are copied into HALCON and back for every run, see Copy time.
-
Regions, contours and parameters that mix strings and numbers are not carried on the Data Layer.