Release Notes

Version 1.0.0

The first version of LumiScan Script Runner.

New
  • HALCON procedures (.hdvp) run on HDevEngine and are published as modules on LumiScan Keryx, under hdvisionsystems/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 in sem_type such a parameter is read as a handle, with a warning.

  • The run handshake 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; start modules 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-scan lists the parameters still missing a type, interface-set-parameter sets one, interface-load takes a file in, and interface-save writes <procedure>.interface.json and 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_values and count_blobs with interface files, and convert_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 HALCONROOT is set and bin\x64-win64\halcon.dll exists in that folder.

  • JSON schema of the application file, installed next to it, so an editor checks module names, interface hashes and misspelled keys.

Limits of this version
  • 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 run handshake only; there is no single blocking call (invoke) and no image stream input yet. The trigger stream and the stream section 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.