---
title: "Requirements"
description: "Requirements of LumiScan Script Runner: Windows 11 or Ubuntu 24.04, the MVTec HALCON runtime with its licence, the LumiScan Key and LumiScan Keryx."
product: "LumiScan Script Runner"
component: "lumiscan-script-runner"
version: "1.0.0"
display_version: "1.0.0.2"
latest_version: true
language: "en"
url: "https://docs.hdvisionsystems.com/en/lumiscan-script-runner/requirements.html"
---

# Requirements – LumiScan Script Runner

## PC

|   |   |
| --- | --- |
| Operating system | Windows 11 (64 bit) or Ubuntu 24.04 (64 bit, x86-64) |
| HALCON | MVTec HALCON 22.11 (Steady), any 22.11.x maintenance release, with a runtime licence: on Windows installed for all users of the PC, on Ubuntu set up for the user who starts the Script Runner. **No other HALCON release**, older or newer, see [HALCON 22.11 only](https://docs.hdvisionsystems.com/en/lumiscan-script-runner/requirements.html#halcon-release). HALCON is not part of the Script Runner’s installer or package: the Script Runner uses the HALCON installation on the PC. Install HALCON **before** the Script Runner, see [Installing the Script Runner](https://docs.hdvisionsystems.com/en/lumiscan-script-runner/installation.html). |
| Data Layer | LumiScan Keryx on the same PC. The Script Runner connects to it at start. |
| Licence | The LumiScan Key, see [Licence](https://docs.hdvisionsystems.com/en/lumiscan-script-runner/requirements.html#licence) |

This version runs on Windows 11 and on Ubuntu 24.04.

## HALCON 22.11 only {#halcon-release}

This version of the Script Runner is built for HALCON 22.11 and runs only with HALCON 22.11. Any 22.11.x maintenance release works; any other release does not, neither an older one (for example 20.11) nor a newer one (for example 24.11). The reason is HALCON itself: MVTec keeps HALCON’s libraries binary compatible within one release only, and a program built for one release has to be rebuilt for the next.

- **At start** the Script Runner checks the release of the HALCON libraries it loaded, before it calls HALCON: `halcon.dll`, `halconcpp.dll` and `hdevenginecpp.dll` on Windows, `libhalcon.so`, `libhalconcpp.so` and `libhdevenginecpp.so` on Ubuntu. If one is of another release, it stops, and its log names each library with its version and folder, see [Troubleshooting](https://docs.hdvisionsystems.com/en/lumiscan-script-runner/troubleshooting.html#ts-halcon-release).
- **The Windows installer** checks only that HALCON is installed, not its release.
- **Several HALCON releases on one PC** are possible, but the Script Runner uses the one whose library folder comes first: on Windows the `bin\x64-win64` folder on `PATH`, on Ubuntu the `lib/x64-linux` folder on `LD_LIBRARY_PATH`. That must be HALCON 22.11.
- **The HALCON licence** must be valid for HALCON 22.11. A licence for a newer HALCON release is usually valid for older releases too; ask MVTec or your HALCON distributor.
- **A newer HALCON release** needs a new version of the Script Runner, built for it.

## Your procedures

- HALCON procedures (`.hdvp`) that use only operators of HALCON 22.11. A procedure saved with a newer HDevelop (for example 26.05) loads and runs, because the file format is the same; it fails only if it uses an operator that HALCON 22.11 does not have. Test such a procedure with HALCON 22.11 before you put it on the device.
- Protected procedures (locked with a password in HDevelop) work like open ones: the Script Runner reads their interface and their documentation and runs them, without the password.
- Every parameter has a type: from the procedure’s documentation in HDevelop or from an [interface file](https://docs.hdvisionsystems.com/en/lumiscan-script-runner/interface-file.html). See [Prepare a HALCON Procedure](https://docs.hdvisionsystems.com/en/lumiscan-script-runner/how-tos/prepare-a-procedure.html#parameter-information).
- The HALCON modules the procedures use must be in your HALCON runtime licence.

## Licence {#licence}

Two licences are needed on the PC:

- **LumiScan Script Runner:** the **LumiScan Key** (a CodeMeter USB key; WIBU CodeMeter, firm code 6000380, product code 9063), plugged into the PC. The PC needs the **CodeMeter Runtime** 9.00 or newer (from WIBU-SYSTEMS, wibu.com).
- **HALCON runtime:** the HALCON runtime licence (a dongle or a licence file) from MVTec or your HALCON distributor. Without a valid HALCON licence the Script Runner starts, but no module runs: every module reports `-4`, and `system/engine/license-valid` is `false`.

For licences, contact HD Vision Systems at [licenses@hdvisionsystems.com](mailto:licenses@hdvisionsystems.com).
