LumiScan Script Runner

A HALCON procedure with its documented interface: image and value inputs, value outputs

Write it in HDevelop. Develop and test your vision logic as a HALCON procedure, as you always do.

The procedure file in the script folder, turned into a module with typed input and output nodes

Drop it in. The Script Runner reads the procedure’s interface and gives every parameter its own node.

A PLC function block with Execute, Busy, Done and Error, connected to the module’s run handshake

Call it from the PLC. One handshake per module, the same function block for every script.

LumiScan Script Runner is the LumiScan app for vision experts who know and love HALCON. It runs your HALCON procedures (.hdvp) with MVTec’s HDevEngine and publishes each one as a module on the Data Layer. The procedure’s declared interface decides the nodes: one typed node per value parameter, an image group per image parameter, and a run handshake that a PLC function block maps one to one. Change the vision logic by replacing the procedure file, without a new software build. Procedures that share a model run in one group and pass HALCON handles through the group’s store, inside the app. The Script Runner uses the MVTec HALCON 22.11 installation on the PC, which you install with its runtime licence before the Script Runner.

To get started, see Run Your First Script. Installing: Requirements and Installing the Script Runner. Questions or an error code? See Status Codes and Troubleshooting. Product information and quotes: LumiScan Script Runner on hdvisionsystems.com.

In this manual

  • Description – What LumiScan Script Runner does: HALCON procedures as Data Layer modules with typed nodes, one run handshake, groups that share handles, interface hashes.

  • Requirements – Requirements of LumiScan Script Runner: Windows 11 or Ubuntu 24.04, the MVTec HALCON runtime with its licence, the LumiScan Key and LumiScan Keryx.

  • Troubleshooting – Fix problems of LumiScan Script Runner: installer and start, HALCON release and licence, procedures that do not load, interface changes and failed runs.

  • Glossary – Terms used in the LumiScan Script Runner manual: procedure, module, group, store, binding, interface file, interface hash, HDevEngine and more.