Tools
| Tool | Data Layer | For |
|---|---|---|
LumiScan Keryx, Windows |
browsing the tree, reading, writing, calling methods, watching values |
|
LumiScan Keryx, Windows |
subscribing to nodes and following stream results through the chain |
|
LumiScan Keryx |
browsing, reading, writing and calling methods from the command line, in scripts and tests |
|
ctrlX Data Layer |
browsing, reading, writing and calling methods on ctrlX OS |
The Keryx page
http://127.0.0.1:7555/ for the default broker - the broker’s port + 2000. Starting LumiScan Keryx opens
the same page in a window. See LumiScan Keryx on
a PC.
LumiScan Keryx Utilities
A window onto a broker: choose the broker, search its nodes, subscribe to the ones you want, and read what they publish in one list. It is a client only: it provides no nodes and changes nothing on the broker. Windows only.
-
Start it. A window opens; it needs the Microsoft Edge WebView2 Runtime, which Windows 11 includes. Without it the page opens in the default browser.
-
Broker: enter host and port (
127.0.0.1and5555by default) and click Connect. The dot shows whether the broker answers. -
Add: type words of an address in the search box, for example
camera1 stream frame, and pick a node. An address the broker does not know yet can be added as typed: a subscription may come before its provider. -
Start and stop each subscription with its own button. After a restart, and after a change of broker, subscriptions come back stopped - a camera stream is tens of megabytes per second. Resume on start changes that.
-
Results: one list, newest first, each row naming its source. Keep newest sets how many are kept.
-
Follow an item: click a row. For a stream result the detail lists every row about the same item, in the order it arrived and how long after the first, and the producers it passed with each one’s time. It never shows the pixels of a frame.
| What | Where |
|---|---|
Subscriptions and settings |
|
Log |
|
The results are kept in memory only. lost counts updates the broker numbered that did not arrive.
krxclient
The command line client of LumiScan Keryx. It stands in for a PLC: read, write, browse,
metadata, tree, execute, subscribe, and handshake, which runs a ready/request handshake.
Give it the broker with --keryx-backend and --keryx-url, or with the environment
variables HDV_KERYX_BACKEND and HDV_KERYX_URL.
krxclient write hdvisionsystems/lumiscan-template-finder/module-1/control/subscribe/input/address hdvisionsystems/lumiscan-cam-driver/camera1/control/publish/output/stream
krxclient write hdvisionsystems/lumiscan-template-finder/module-1/control/subscribe/input/enable true
krxclient execute hdvisionsystems/lumiscan-template-finder/module-1/control/subscribe/execute
krxclient subscribe hdvisionsystems/lumiscan-template-finder/module-1/control/subscribe/output/stream/result --count 5
krxclient subscribe shows a FlatBuffers value by its size only: it tells you that results arrive, not
what they hold.
The ctrlX OS web interface
On ctrlX OS, open Settings > Data Layer in the ctrlX OS web interface. It shows the tree of the
ctrlX Data Layer: browse to hdvisionsystems/<app>, read and write values, and call methods. See
ctrlX Data Layer on ctrlX OS.