GenLab NDK 1.0.0
Installed from PyPI:
py -m pip install genlab-ndk, thengenlab-ndk(the window) orgenlab-ndk-cli help(the command line). Your settings, logs and reports go to%USERPROFILE%\GenLab_NDK(GENLAB_NDK_HOMEchooses another folder). The company-internal files are not in this package - the power and ET-FW scripts, the USB relay program and the civic libraries for i2 touch: bring your own copies in withgenlab-ndk-cli files import <folder>(an old GenLab NDK folder works) or the guided setup's step Your files. FFmpeg (LGPL) comes along; its source is the packagegenlab-ndk-ffmpeg-source(pip install genlab-ndk-ffmpeg-source).
Generation Engineering Laboratory | Next-generation Development Kit - One Platform. From Software to System.
One window for the whole bench of the i2, i3, i3 max and i4 cockpits: see and touch every display, switch power and ignition, run your routines, drive ET-FW, fetch builds from Artifactory, open a terminal on the targets and flash the VCPU - while the webcam shows what the real screens do.
| Project | Targets | Cockpit page |
|---|---|---|
| i3 | QNX + RichOS | Displays - every display mirrored and touched from the PC, also pinch zoom |
| i2 | QNX + RichOS | Displays - touch through the civic libraries, also pinch zoom |
| i3 max | QNX + Android (adb) | TurboADB - devices, screen mirroring and tools |
| i4 | Android (adb) | TurboADB |
The camera, power, bus sleep and volume, Automation (commands, routines and tests), ET-FW, Artifactory, TurboSSH, VCPU Flash and your own extensions are the same for every project - except that i4 has no ET-FW (a tool of its own comes for it; Settings › Connection can show the ET-FW page anyway, marked development).
Quick start
The first start on a PC opens a guided setup: project and network, bench name, power, camera, ET-FW,
Artifactory, TUT and DLT Viewer, VCPU Flash, Wi-Fi networks, adb - every step can be skipped, and Help › Guided setup opens it again (installed with pip install genlab-ndk, its step Your files asks once
for the folder with your own files - the civic wheels, power_control.py, relay_detect.py, etfw_control.py and
USBRelayExtLib are not in the public package; genlab-ndk-cli files status checks them). The first
start of this version on a PC that used an earlier one asks once whether to start fresh (it lists exactly what would
be deleted).
- Start GenLab NDK -
python genlab_ndk.pyin the source folder, orGenLab_NDK.exefrom the release packageGenLab_NDK_v1.0.0.zip(everything is built in, nothing to install). - Choose the project and the network in the top bar (i3, i2, i3 max, i4 · VLAN or DIAG). The QNX and RichOS addresses follow by themselves (Settings › Connection).
- Set up the bench once in Settings › Power: the Areus COM port and the USB relay board, or your own power ON / OFF batch files.
- Connect (Ctrl+K, or Connect at the start of the Displays toolbar). On i3 / i2 the displays appear and refresh live; choose each display's screenshot once with Screens in the same toolbar.
- Click a display to tap, hold to long-press, drag to swipe - the camera in the right column shows the result on the real screen.
Tip: From the source, every Python package GenLab NDK needs is installed or updated before the window opens - one pip call, only when something is missing or too old (
requirements.txt). The start-up card shows at once, the window follows in about three seconds.
The window
| Part | What it holds |
|---|---|
| Menu bar | File, View, Tools, Settings, Help (Alt + F / V / T / S / H) |
| Top bar | the project's badge, the project and the network, the page buttons (drag one to put it elsewhere, or right-click: Move left / right, Reset the page order), Extensions and the LAYOUT switch: Standard (the page and the right column) · Monitor (Ctrl+M) · Page only (the right column steps aside, Ctrl+B) |
| Page | the page you chose, with the whole height of the window |
| Right column | CAMERA, POWER, VEHICLE and the LOG - on every page, about 30 % of the width (drag its edge) |
| Status bar | the latest log entry, then chips for the bench, the connection, the HW type, ET-FW, power, a running routine, recording, the camera and new warnings - a click anywhere on a chip goes to where it belongs (the warnings chip opens the log at those warnings, the first one marked) |
Camera
The bench webcam, always in the right column: Fit | Fill, Snapshot, Record (REC m:ss while it
records) and Start / Stop; its ⋯ menu holds zoom, rotation, Focus again, Restart camera and Camera settings…
(the mouse wheel zooms, dragging pans, a double-click resets). The picture always keeps the camera's shape.
The webcam only opens when you press Start - or, if you choose so in Settings › Camera › When GenLab NDK opens, as last time or always. Power and ignition actions leave the webcam as it is; tick View › Start the webcam when Power or Ignition is used if they should start a stopped camera, so you see what the HW did.
Note: A webcam that another program uses is shown as Camera busy. Start camera closes that program and takes the camera over. A program Windows does not let GenLab NDK close (it runs as administrator) is named, and the camera panel offers Close it as administrator - Windows asks once.
Power and Vehicle
| Card | Buttons | Notes |
|---|---|---|
| POWER | eight equal buttons: Power On · Power Off · Power Cycle · Bus sleep and wake up · HU On (ET-FW) · HU Off (ET-FW) · EDL On · EDL Cycle | a click runs at once; pressed with the keyboard (Enter / Space) it asks first. While one runs: its clock, the step, a bar and Stop (a safe stop: the switch running now finishes, nothing after it; Bus sleep's Stop wakes the HU) |
| VEHICLE | volume Down · Mute · Up with ×N steps, and the Wi-Fi row | volume through ET-FW on i2 / i3, through adb key events on i3 max / i4; Wi-Fi shows its state live (connecting m:ss, connected with the ping, the reason of a failure) and is checked every minute |
HU On (ET-FW) = Power On (EDL off) and Go online at the same time, then - once ET-FW is online - Ignition On and Start. HU Off (ET-FW) = Ignition Off, Lock, a wait until the buses sleep (3 min), Go offline, Power Off. Bus sleep and wake up = Ignition Off, Lock, 5 min asleep, Ignition On, Start. Both waits: Settings › Power.
The power method (Settings › Power) is either Areus and USB relay (power_control.py with the COM port,
the relay board and the relay names) or Power ON/OFF batch files (a cycle = OFF, wait, ON).
Note: On i4 the POWER card is in development: greyed out, and power steps of routines and tests are refused with that reason. Settings › Connection › Enable power and VCPU Flash for i4 (development) turns it on for testing.
Log
One log for the whole app, with a tab per page (Displays, TurboADB, Power, ET-FW, Automation, Artifactory, TurboSSH, VCPU Flash, Extensions) and All. Every line shows its time and level - DEBUG, INFO, RUNNING, SUCCESS, PASS, WARN, STOPPED, FAIL, ERROR - and the level filter in the header hides what you don't need (it starts at Info ↑: no DEBUG lines). A tab that gets a warning or an error while it is not open is marked amber / red. The log shows the tab of the page in front - and when you press a POWER or VEHICLE button, the tab of that action (Power, or ET-FW for what runs through ET-FW).
A running action has one line that updates in place, like a progress line in a console: a download shows
"Downloading · 42.1 % · 8.0 of 19.1 GB · 35 MB/s · 5:20 left" with a thin bar; a power action, an ET-FW action, a
VCPU flash stage, a routine or a test shows what it is doing and for how long - and when it ends, the same line
becomes its result (SUCCESS, FAIL or STOPPED). What the programs print (installer menus, script lines, jf's
messages) is folded under its action: click "▸ 14 lines from …" to open it, or tick Program output in the log
header to show it everywhere. Common errors are said in plain words with what to do ("… did not answer in time · is
it switched on …", "ET-FW is not running · press Start on the ET-FW page"); the original message is kept under
"▸ the raw message". Copy copies the open tab; every entry is also written to logs/genlab_ndk.log - both
still have every line, as before.
Tip: Camera and Log have − (minimize: the panel waits in the bar at the bottom of the window - a click puts it back in its place) and × (hide: View › Panels shows it again). The choice is kept.
Pages
Displays (i3 / i2)
The displays of the cockpit side by side - IC, CD and CDD, or the Ultrascreen - refreshed live. Each display is updated as soon as its own picture is ready, so a touched display shows the result within one round of the screenshot dumper (about 4-6 s).
| Do this | To |
|---|---|
| Click | tap |
| Hold | long press (a ring fills while you hold) |
| Drag | swipe (an arrow shows the direction) |
| Ctrl + mouse wheel (i2, i3) | zoom with two fingers: one turn of the wheel = one zoom step (up: in, down: out) - also Zoom in here / Zoom out here (pinch) and Double-tap here in the right-click menu |
| Right-click | maximize, hide, save a screenshot - right-click never touches the HW |
A zoom is sent completely before GenLab NDK takes the next one. Right after Connect, an i2 touch is sent as soon as touch is ready (a few seconds) - no need to touch again.
The toolbar: the connection first - its state and Connect / Disconnect -, then Live, Refresh (F5),
Fit / Fill, Maximize / Restore, Screenshot (one display or all of them in one picture, saved_screens/),
Record (all displays as one video, each display in its own video, or one display, recordings/) and
Screens.
- Screens is a short guided flow: 1 · Detect screenshots runs the dumper once on QNX (with or without Connect) and shows every screenshot as a thumbnail (Detect again runs it once more); 2 · Choose one per display - click the screenshot that shows IC, CD and CDD (or the Ultrascreen; Setup switches), untick Show this display to hide one, Touch sets a touch range; 3 · Save keeps it for this HW and bench (loaded by itself the next time this HW is detected) or under a name of your own (Configurations loads or deletes saved ones). Nothing changes until you press Save, and Cancel changes asks first. After Connect, Screens opens by itself while a shown display has no screenshot.
- Maximize a display with its corner button, the toolbar or the right-click menu: it fills the displays area, and only that display is downloaded, so it refreshes faster. Restore or Esc shows all again.
- Hide a display you don't need (right-click, or Screens › Show this display): hidden displays are not downloaded at all.
- Target HW under the displays shows the HW type (board, level, variant, market, e.g.
i3 - deister - LS4+ (premium plus) - ECE) and the QNX / RichOS details, read once after Connect. All details › opens the full table, Read again reads it again. What was read is kept for the next start.
Note: IC is never touchable. A connection that drops is restored by itself (up to 5 minutes); after Power On or Cycle the reconnect waits for the HW to boot.
TurboADB (i3 max / i4)
TurboADB - adb and scrcpy with its device views and tools - runs inside the page and starts by itself. The header works like TurboSSH's: Connect device (a network device, IP : port), Wi-Fi (see below), New target, Terminal (the terminal of a connected device), Menu (connect, every page of each connected device, start its screen, what TurboADB shows - device list, ribbon, status bar, its log, its own menu bar for the rest of its menus -, Settings, About), ⚙ (TurboADB's settings), Full size, then Start / Stop, Restart and Install / Update. Click into TurboADB to type in its terminal, PowerShell or CMD (a click back into GenLab NDK gives the keys back).
More room for the device: TurboADB starts without its own ribbon and status bar (Menu › Show in TurboADB brings them back, and the choice is kept); when a device connects, its device list folds away (› on its left edge brings it back); Full size (or F11) gives TurboADB the whole window - GenLab NDK's menu bar, top bar and right column step aside until you press Exit full size / F11 again. Its webcam page is off because the camera column uses the webcam. When you switch to i3 / i2, TurboADB keeps running in the background or stops (Settings › Connection).
Wi-Fi (every project). Save the Wi-Fi networks of your lab once in Settings › Connection › Wi-Fi networks
(name and WPA2 password; one is the default). The password is kept in Windows Credential Manager for your Windows
user - never in GenLab NDK's settings, logs or exports (they show ***). Wi-Fi ▾ connects the HW with one click:
on i3 max / i4 over adb (svc wifi enable, then cmd wifi connect-network "<name>" wpa2 "<password>") - on the
TurboADB page, also while TurboADB is stopped; on i2 / i3 on RichOS (conncli -w connect --ssid ... --password ...)
- in the Displays toolbar next to Connect. Then it pings www.google.com until it answers (up to 30 s). Also in
Tools › Wi-Fi, as an Automation command / test step (Wi-Fi connect) and on the command line
(
--cli wifi connect "Lab network").
Automation
One page, four tabs: Commands & Routines, Audio, DLT and Tests (each project with its own). The page never scrolls as a whole - only its lists do. The header has the project and network (chosen in the top bar), the project's targets, Test connection (QNX, RichOS and adb) and Import / Export of commands, routines and tests together (one JSON file to give a colleague). Each kind also has its own Import / Export: the commands table's Import / Export menu and the Tests list.
Commands & Routines - ONE table of every command and routine, made for many of them: the search at the top (names, command lines, a routine's steps; Ctrl+K = quick run: type, Enter runs the best match), chips per target with counts, ★ Pinned on top, groups that fold, and ▶ on every row (a double-click or Enter runs too). Select several (Ctrl / Shift) to run them one after another or make a routine of them; a right-click has Edit / Duplicate / Move up / down / Pin / Export / Remove. Edit and + New open a side drawer. Every run of every command and routine lands in ONE RUNS panel at the bottom (newest first, a running one on top with its step and clock, a routine's output one section per step; Run again / Copy / Open the log file) - it folds to one line. Build versions is a pinned entry of the table.
Build versions - the HW's build versions as a table (Build · Runs on · Version · Read · a Copy button per row): QNX build (cat /mnt/etc/build), RichOS build
(cat /etc/build) and the Master build - cat /mnt/vcdata/system-version.txt for a flat build,
cat /var/system-version.txt for a TUT build (on RichOS for i2 / i3, on QNX for i3 max), and the Firmware
version (cat /firmware/verinfo/ver_info.txt on QNX). They are read only when you press Read builds - never by
themselves. Each version shows in full in its row; View (or a double-click) opens it in a larger window. Copy
beside each one copies it, Copy all puts all of them with the project, network, bench and time on the clipboard
(a toast confirms it). ⋯ › Edit build commands changes or adds commands per project. On the command line:
--cli builds [--copy].
Audio - is audio really played? Play chime plays a sound on the HU once (wave /mnt/etc/car2-chime.wav on
QNX); Repeat (wave -d) plays it continuously, and while it plays the button is a red Stop (slay -f wave).
Start live listens to what the HU plays - the entertainment sink's monitor on RichOS through parec,
streamed straight into GenLab NDK - as a moving waveform with L / R level meters, and Listen on this PC plays it
on the PC's speakers (Pause / resume). Record saves it as a .wav in recordings/; RECORDINGS lists the
files, with their waveform, a play / pause player and a playhead to jump. Check audio listens a few seconds and
says whether audio was heard (and how loud) - with Play the chime first ticked it plays the chime once before. The commands, the sink and the threshold can be changed
per project. On i3 max and i4 the audio test is in development.
Commands - grouped by where they run - QNX, RichOS, Android (adb), This PC, Wi-Fi, TUT - in groups you can fold; + adds a command. A command shows what it runs, its timeout (each command has its own, 60 s by default), Run (a red Stop while it runs); its output is in RUNS (and the Automation log). adb commands stop at once.
Routines - setups you run once, e.g. remount → set a line in a config file → sync → power cycle. A routine can
run shell commands, edit a file (append, set a line, overwrite - a .bak copy is kept), wait, switch power or the
ignition, run a TUT action, and wait for a target. A failing step stops it unless the step may continue on errors. A
routine's run shows in RUNS one section per step with live marks; every run is kept as a text file in
logs/routines/ (the last 200 are listed). A routine
that is stopped or fails after it switched the HU off switches it on again.
DLT - records the HU's DLT logs with your DLT Viewer (not part of GenLab NDK: point to its folder in Settings
› Connection or the guided setup): choose the project's .dlp, a name, Start recording; DLT Viewer's own window
shows inside the tab. Find in this recording finds a text now or waits for it (30 s … until found); Stop and
save writes the .dlt (dlt_logs/ by default); RECORDINGS lists them (Open in DLT Viewer, Folder, Copy path). In a
test, Record DLT keeps one .dlt per cycle in the report, and the steps DLT contains text / Wait for DLT text
check it. Command line: --cli dlt ....
Tip: On QNX the remount command is
mount -uw /mnt. QNX commands run in the target's login shell, because a plain SSH session there can't start programs.
Tests
The test designer - one cycle as a flow of numbered cards: drag steps to reorder them and into and out of
blocks (Ctrl+Z / Ctrl+Y). Run together runs branches really at the same time (continue when all / the first is
done, or stop all when one fails), Wait for the first of, If … else, Repeat … until, if it fails → go
to step N (at most N times), Remember a value and End the test. Captures run alongside the flow -
slog2info -w on QNX, DLT, a serial port, logcat, the webcam video or your own command - with a file per cycle,
fail the cycle when it shows … and steps that wait for a text in them. The inspector on the right edits the
chosen step; the line under the header says ✓ ready to run or what is missing. ▶ Run opens the Run view:
every lane on one timeline, the live tail of a capture, one large row per cycle and the report.
A test is a list of steps - one cycle - run Once, N times or Until stopped (cycle after cycle until you press Stop, e.g. overnight). After a failure the run stops or goes on with the next cycle; either way every cycle is in the report. A test never leaves the HU switched off: when a cycle ends with it off, the next cycle switches it on first, and when the run ends while it is off (also by Stop) the HU is switched on again before the report is written. While a test runs, commands and routines wait - and a test waits for a running routine. Two tests are ready-made, and you can change their steps (⋯ › Reset to the original steps brings them back) or make your own (New › New test…, Duplicate, Export / Import). Every test has its ⋯: settings, duplicate, export, move up / down, reset and Remove - a removed ready-made test comes back with New › Power cycle test / Bus sleep test (ready-made):
| Test | One cycle |
|---|---|
| Power cycle test | Power Off → wait → nothing answers → Power On → wait until booted (SSH on QNX / RichOS, Android over adb on i3 max / i4) → wait → webcam picture |
| Bus sleep test | targets answer (the HU is awake) → Ignition Off → Lock → wait → nothing answers (the bus sleeps) → Ignition On → Start → wait until booted → wait → webcam picture. Ignition runs through ET-FW (not on i4) |
+ Add step offers the steps in three groups - Bench, Checks and Flow -, and ⋯ on a step edits, moves, duplicates or removes (or drag it):
| Step | What it does |
|---|---|
| Power | On, Off, Cycle, EDL On or EDL Cycle - the POWER card's method |
| Ignition | Lock, Off, Accessory, On or Start through ET-FW |
| ET-FW action / API / sequence | any entry of ET-FW's API catalogue - HU On / Off, Bus sleep and wake up, Go online, Variant coding … - with its parameters; passes on the API's own check (not on i4) |
| ET-FW signal | sends a CAN / Ethernet signal value, optionally reads it back |
| adb / TurboADB command | adb shell … or plain adb arguments on the chosen device; exit 0, optionally the output must contain a text |
| TurboSSH session command | a command over one of TurboSSH's saved sessions (its key or saved password); the output goes into the report |
| Repeat (loop) | runs the steps inside it N times in each cycle - drag steps between the loop's row and its end line (or ⋯ › Move into / out of the loop); If one fails: stop the loop or go on. The results and the report show every round (✓✓✗) |
| Run a routine | runs an Automation routine of the project step by step; its power and ignition steps run under the test's bench lease |
| Wait until booted | QNX / RichOS / Android answer again; the boot time of each is measured (optionally an SSH login must work) |
| Nothing answers | off or asleep: no target answers, N checks in a row |
| Targets answer | every target answers now |
| Run a command and check it | on QNX, RichOS, adb or this PC; exit code 0, optionally the output must contain a text |
| Serial port shows a text | e.g. Startup complete on COM5 within 120 s; Fail if it shows panic; watchdog |
| Audio check | listens on RichOS (with Play the chime first: plays the chime once before): passes when audio is heard above the threshold - or, if chosen, when it stays silent; each cycle's clip is kept in the report (a click on the cell plays it) |
| Wi-Fi connect | every project: the HW onto a saved Wi-Fi network (the default one, or the one you pick) - adb on i3 max / i4, conncli on RichOS for i2 / i3; passes when www.google.com answers the ping. The password comes from Credential Manager and never shows in the report |
| Wait · Write to a file · Webcam picture · Note in the serial logs | as they say |
A step that fails fails the cycle - or, with If it fails › Only note it, is only noted. Command output (adb, TurboSSH, a routine's commands) is in the results table's tooltips and in the report's Command output. Steps in a test run unattended: an ET-FW entry marked Ask first (Variant coding) does not ask inside a test.
Serial logs (the test's ⚙): tick the COM ports to record and give each a name and baud rate. While the
test runs every port is recorded, each line with the PC's time and as clean text (colour and cursor codes,
control characters and extra spaces are taken out), and every step writes a marker line
(==== GenLab NDK · cycle 3 · Power On ====). Per port you get a master log of the whole run, one log per
cycle, and the cycle's boot part (Power On until booted) and end part (its last minute) - in the report's
folder under serial/. The Serial logs tab shows the chosen port live. The power relay's COM port is never
opened.
The report (reports/, updated after every cycle): the summary (passed, failed, boot time min / avg / max), the
steps of one cycle, one row per cycle with its times, its serial logs and its picture, the failures with the last
lines of every port, and the log of the run. Open, Show in folder and All reports are on the Report
tab, with the test's earlier reports; the end is a notification with the report.
Note: A test that switches power or the ignition holds the bench for the whole run: VCPU Studio can't start a flash, and GenLab NDK's other power, ignition and bus sleep buttons wait. Stop ends a wait or a check at once - a power / ignition action already running finishes first - and an HU that is off or asleep is switched on again before the test ends.
ET-FW
A control panel for ET-FW, edited only in the window. The control column on the left: the state (running,
online, ignition), the start profile with No traces (the project's profiles are offered first - i2
Gen20x_i2, i3 Gen20x_i3_MB.OS_0.7 (STAR 3) and Gen20x_i3_MB.OS_1.0 (STAR 3.5) - and the last one is remembered
per project), Start · Stop · Restart · Force stop, Online ·
Offline, the Ignition Lock · Off · Acc · On · Start, My actions - shortcuts to anything (a signal value, an API call, a Diagnostics tab, steps; HU On / HU Off /
Bus sleep and wake up are in POWER, not here) and the last results. The page has a status strip at the top and a
side menu Control · Signals · Diagnostics · API · Set up. Start opens ETGui.exe -notraces from ET-FW's
bin folder, like your shortcut (No traces is ticked by default), after making the start profile ET-FW's selected
one - on i3 / i3 max every Start asks STAR 3.0 (MB.OS 0.7) or STAR 3.5 (MB.OS 1.0); Stop closes ETGui like
a normal program. A Go online / offline that the script reports as failed is checked against ET-FW's real state. The workspace on the right:
| Tab | What it does |
|---|---|
| Ethernet signals / CAN signals | one row per signal: its value read back, a value to set (presets or a slider), Send changed, Read values |
| Diagnostics | variant coding from an AED file (ecuName, aedFileName, aedConfig) and IF1 functions - each tab shows what is sent, where the file was copied and ET-FW's answer in plain words |
| API | every ET-FW API like in Postman: the request line with {api} / {starter} / {token} (the token always masked), Params, Body, Passes when, Send, the answer (status, time, JSON, headers), a history; Use as an action puts it into My actions |
| Set up ET-FW (gear) | one page, one click: the folder, the start profile, every admin step behind one Windows prompt, ETGui opened once; the health view afterwards - and the API catalogue |
Online / Offline, the ignition (Lock, Off, On, Start), the volume and the CAN /
Ethernet signals run your working etfw_control.py with GenLab NDK's addresses and token (Acc keeps ET-FW's
Accessory call; Send changed sends the signals one by one; Read values reads them only when you press it).
Set up ET-FW (the gear on the ET-FW page; ET-FW not set up yet · Set up… under the state while it isn't). Choose ET-FW's bin folder (the
one with ETGui.exe) - GenLab NDK checks the installation at once (under a second) and lists the nine steps with what
is already right and what is missing. Pick the start profile (the profiles of that ET-FW, written exactly as
ET-FW writes them; the REST address and the access token are taken from its restAPI.xml - the token is never shown;
Change… shows the connection values), then press Set up ET-FW: it checks the prerequisites (.NET 4.8, Visual
C++ 2012 / 2013 x64, a licence file), copies the ET-FW starter to C:\ETFrameworkStarter and points it at this
ETGui with GenLab NDK's access token (also in the start profile and ET-FW's selected profile; a .bak copy of each
is kept), installs and starts the starter service and adds the firewall rule and the URL reservations
(http://localhost:<port>/ for you) - all behind one Windows prompt - then opens ETGui once through
the starter and waits until its REST API answers (20-90 s; ET-FW's licence dialog may ask you the first time). A
progress bar and the step list show what runs; a step that fails says why and what to do, with Try this step
again; declining the Windows prompt changes nothing. Run it again any time - what is right is left alone. The API
catalogue is one button away in the same view.
ET-FW APIs (ET-FW setup › API catalogue) shows every API exactly as the ETF REST API manual writes it - one
request line, e.g. GET {api}/SwitchIgnition?switchState={switchState}&accessToken={token}. {api} / {starter} are
the addresses of Set up ET-FW › Change…, {token} the access token (never shown); every other {placeholder} is a
field of TRY IT - Send tries the API as typed, Save stores it for the buttons, Diagnostics tabs and the
command line. A new API: + Add API, a name and the manual's line (lists name={name...}, IF1's pairs
{paramsName/paramsValue:pairs}); Reset puts a built-in back to the manual's request. An answer with an
ErrorMessage (the manual's error answer) counts as failed, also with HTTP 200.
Artifactory
Transfers works like a download manager, through the JFrog CLI (jf.exe): New download / New upload
open a panel on the right while the list of transfers stays in view. Paste a link (or repo/path) - its name and size
are looked up once, and the panel says whether there is enough space (unpacking included). Download /
Upload adds it to the top of the list and the panel stays open for the next one (Esc or ✕ closes it).
Several transfers run at the same time (Parallel, 3 by default - the others wait in order); each has its own
progress, speed, time left, stages (Download → Verify → Unpack zip → Unpack tar; Checksums → Upload → Verify → Link ready) and
output, and its own Stop / Retry / Remove. Finished transfers stay in the list (grouped by day, also
after a restart; kept for your Windows user only). With Unpack archives a .zip that holds a .tar / .tar.gz is
unpacked completely - first the zip, then the tar -, and the inner .tar is removed once it is unpacked (the
downloaded .zip still holds it; Keep the inner .tar keeps it). Every download is verified: it lands in a hidden
staging folder first, its sha256 is compared with Artifactory's, and only then does it get its real name - a damaged
or stopped download never leaves a file under the real name; an upload is looked up on Artifactory afterwards and
its sha256 compared with this PC's ("✓ sha256 verified on Artifactory"). Each build lands in its own folder,
<download folder>\<group>\<build id>\…, so builds never mix; the same build again is skipped when the file there
has the same sha256 ("Already here · verified"). Only real archives are unpacked (by name: .zip, .7z, .tar, .tar.gz …) -
never an .img, .bin or .ext4 - into a fresh folder, never merged into an older one. A .7z is unpacked with your
installed 7-Zip (without 7-Zip it is left as it is, with a warning). One compressed file - .gz / .xz / .bz2 such
as rootfs.ext4.gz or system.img.xz - is decompressed next to it like 7-Zip's Extract here (rootfs.ext4, ready
to flash): written under a hidden name first and renamed only when its checksum checked out. During a VCPU flash the VCPU Flash page must stay in front - Artifactory then
opens in a window of its own and goes back into its page when the flash is done. Setup (jf.exe, certificate,
login) is the button in the page's header; once set up, the page always opens on Transfers.
Setup walks you through four steps, one at a time - 1 JFrog CLI (install / update jf.exe), 2 your certificate, 3 server and login, 4 test the connection (Save configuration + Ping). The list on the left shows each step's state (✓ when done) and opens any step with a click; on the right the step says what it is for, with Back and Next. A finished step goes on to the next by itself, and Next on step 3 saves the connection and tests it.
Your certificate → crt.pem + key.pem. jf needs your client certificate as two files. In step 2 choose I have
crt.pem and key.pem (pick the two files) - or I only have my certificate (.pfx) - create them: the certificate
you were given (keystore_….pfx / .p12), its import password and Create crt.pem + key.pem - GenLab NDK
writes both for your Windows user
(%APPDATA%\GenLab_NDK\certificates) and fills Client certificate and Certificate key; no OpenSSL, winpty
or -legacy needed. The password is used once and never saved. The step is done when both files exist and belong
together; under them you see whose certificate it is and until when it is valid (amber in its last 30 days, red
when expired). A new certificate: choose the new
.pfx, its password, Create again (it asks before replacing the old pair); then Save configuration.
Your login is yours. User, certificate and key are kept for your Windows user only
(%APPDATA%\GenLab_NDK), the token (with Remember) in Windows Credential Manager - never in GenLab NDK's
folder, so other people on the PC or a copy of the folder don't get it. On the Setup tab:
- Signed in as … shows whose login jf uses.
- Encrypt jf's stored login - jf's own copy (
%USERPROFILE%\.jfrog) is stored encrypted with a key in Credential Manager. jf started by hand outside GenLab NDK can't use it then; untick to make it readable again. - Sign out removes your login from jf and the remembered token.
- Sign out when GenLab NDK closes - for a PC that several people use under one Windows login.
Note: On a PC that several people use under one Windows login, nothing can keep the logins apart but signing out - use Sign out when GenLab NDK closes there, or separate Windows logins.
TurboSSH
TurboSSH runs inside the page: QNX / RichOS quick connect (i3 / i2), New session, Local terminal and its menus under Menu, then Start / Stop (Stop asks first while sessions are open and closes them; TurboSSH stays stopped until you press Start), Restart and Install / Update.
VCPU Flash
VCPU Guided Flash Studio - Virgin Flash, KDS Check & Flash and KDS Flash for i3, i3 max / D30 and i2 - built into GenLab NDK next to TurboSSH, with GenLab NDK's power settings, project and theme. See the VCPU Flash guide. On i4 the page is in development (greyed out, the Studio is not started).
Power settings shared with VCPU Studio. While the VCPU Flash page shares GenLab NDK's power with the Studio, the Studio's own Settings › Bench connection says "Shared from GenLab NDK (Settings › Power) for this session. A change here asks first." Change a power value there and press Save, and the Studio asks: Change it for both - GenLab NDK's Settings › Power gets the new value and saves it, one setting for both; Only for VCPU Studio - the Studio keeps it as its own and GenLab NDK stops sharing its power (share again: VCPU Flash ⚙ › Hand GenLab NDK's power settings to the Studio); or Cancel - nothing changes. Never during a flash.
ZenZefi
The ZenZefi page starts ZenZefi-UI when GenLab NDK opens (it finds the ZenZefi-UI shortcut by itself; Address… if it can't) and shows it inside the page. Sign in there; when everything is done press Done - start reloading: the page then reloads every 10 minutes (your choice) so the session stays alive. Settings can mark the page as "in development" if it doesn't work on your PC yet.
TUT actions (the second tab) run your TUT (TUT.cli.exe process --config <file.tut>; not part of GenLab NDK -
point to its folder there, in Settings › Connection or the guided setup): the project's actions System
activation, Disable safety reset, Hard reset, EDL mode and your own, each with Run and ⋯ (change its
.tut file, rename, back to the standard file); Run another .tut file for anything else. The output is shown live;
a run passes only when TUT says All jobs successfully executed. When ZenZefi is offline, tick ZenZefi offline
- your user and password (kept in Windows Credential Manager, never shown) go to TUT. A TUT action counts as a bench
action (not during a power action or a VCPU flash). Also as a test step, a routine step and
--cli tut ....
Media
The Media page is a small media app with the FFmpeg inside GenLab NDK. Library: GenLab NDK's recordings, screenshots, camera snapshots and test pictures plus your own folders - grouped by day, search, filters (type, date, size), sort, grid or list, favourites, an info panel, and a selection bar (Play, Edit, Convert or shrink…, Show in folder, Move to Recycle Bin). Player: videos with sound, a timeline with thumbnails, frame steps, speed, loop, Save frame, fullscreen and keyboard shortcuts; pictures (HEIC / AVIF too) with zoom. Edit: clips on a timeline - trim, split, reorder, crop, rotate / flip, speed, volume, mute, undo - nothing changes until Export (MP4, WebM, GIF, MOV). Batch: many files, one action (shrink to a size, MP4, WebM, resize, extract the sound, pictures to JPG / WebP) and a queue. Jobs run in the background; an original is never overwritten. Shown or hidden in Settings › Appearance and View › Go to page.
Your own extensions
Every program, script, Python project, pip app or command line you add becomes a page of its own - windowed programs open inside it. Extensions in the top bar manages them, Tools › Add extension... adds one. See the Extensions guide.
Layout: Standard, Monitor, Page only
The LAYOUT switch at the right end of the top bar (also View › Layout) has three parts; the one in use is lit. On a narrow window it shows its three icons, with the names in their tooltips.
- Standard - the page and the right column (camera, POWER, VEHICLE, LOG).
- Monitor (Ctrl+M) - the displays on the left half, the camera on the right half over a compact bench - POWER On, Off, EDL On, Cycle, EDL Cycle, Bus Sleep and VOLUME Down, Mute, Up. Leaving it brings your layout back exactly as it was.
- Page only (Ctrl+B) - the right column steps aside and the page gets the whole width; Standard or Ctrl+B brings it back.
Settings, layout and theme
- Settings (Ctrl+, or Settings in the menu bar) fill the window: Connection, Capture, Touch, Camera, Power, Appearance. Home or Esc goes back - when something changed, it asks whether to save or discard it.
- Layout - Standard shows icons and text (icons only where a row has no room), Compact shows icons only, with the text in the tooltips: View › Layout or the layout button in the menu bar - it shows what a click switches to (Compact while Standard is on, Standard while Compact is on).
- Theme - Dark or Light: View › Theme, the theme button in the menu bar (☀ Light in dark mode, ☾ Dark in light mode), Settings › Appearance or Ctrl+Shift+L.
- Every choice is saved when you make it - the page, the panels, the sizes you dragged, the camera, the theme.
Command line
Every bench function also works without the window - for scripts, CI jobs or a remote session:
python genlab_ndk.py --cli doctor
python genlab_ndk.py --cli power cycle
python genlab_ndk.py --cli screenshot CD CDD
GenLab_NDK_CLI.exe routines run "Remount and sync"
python genlab_ndk.py --cli wifi connect "Lab network"
The same settings and safety rules as the window, readable text or --json, and exit codes for scripts. The
full reference is the Command line (CLI) document (also python genlab_ndk.py --cli docs and
CLI.md in the release).
Safety on the bench
While a power action runs (On / Off / Cycle / EDL), the pages that use the HW - Displays, Automation, ET-FW, TurboSSH, TurboADB, VCPU Flash - wait: their buttons show a small lock, and the one in front shows a calm panel with the steps and the time; afterwards they come back and GenLab NDK reconnects (Displays, touch, TurboSSH sessions). Artifactory, ZenZefi, Media and Settings stay usable. A power step that hangs is ended after 60 s (a cycle: 120 s). Only one power action runs at a time - also between the window and the command line. During a VCPU flash the other pages show a lock; a click says when they open again (Artifactory opens in its own window).
Only one GenLab NDK window runs at a time: a second start brings the open one to the front.
Warning: While VCPU Guided Flash Studio owns the bench - a flash, Open FlashGUI or its power buttons - GenLab NDK's power, EDL, ignition and bus sleep are locked (status bar: Bench in use · VCPU flash) and the VCPU Flash page stays in front. VCPU recovery required in the status bar means a flash failed after writing: recover it in the Studio.
- GenLab NDK can't be closed during a VCPU flash or an Artifactory download / upload; it says what runs and how to stop it.
- While you are connected, recording, or a power / ET-FW action, Set up ET-FW or a test runs, closing asks once (Close / Cancel).
- Power Off and the cycles close the connection cleanly first; after Power On or Cycle the reconnect waits until the HW has booted. After EDL actions the HW is in flashing mode, so there is no reconnect.
Files and folders
| Folder / file | What it holds |
|---|---|
config/genlab_ndk_config.json |
all settings (written by the window) |
config/bench_config.json |
relay map, ET-FW URLs, access token, ignition states (shared by the bench scripts) |
config/etfw.json |
ET-FW actions, signals and diagnostics fields (written by the ET-FW page) |
config/routines.json |
commands, routines and tests (written by the Automation page) |
logs/routines/ |
the run log of every routine run |
config/artifactory.json |
Artifactory settings and custom commands (your login is not in the folder: %APPDATA%\GenLab_NDK + Windows Credential Manager) |
saved_screens/ |
screenshots you save |
camera_snapshots/ |
webcam snapshots |
recordings/ |
display and webcam videos |
downloads/ |
Artifactory downloads (default) |
logs/genlab_ndk.log |
every log entry with its full time stamp |
reports/ |
test reports, GenLab_NDK_Report_<yyyymmdd>_<hhmm>_<test>.html, with the pictures and serial logs in a folder of the same name |
extensions/ |
your extensions - each becomes a page |
Keyboard shortcuts
| Keys | Action |
|---|---|
| Ctrl+K / Ctrl+Shift+K | Connect / Disconnect (on Automation › Commands & Routines Ctrl+K is the quick run) |
| F5 | refresh the displays |
| Ctrl+1 | the cockpit page (Displays or TurboADB) |
| Ctrl+2 … Ctrl+5 | Automation, ET-FW, Artifactory, TurboSSH |
| Ctrl+B | show / hide the right column |
| Ctrl+L | show / hide the log |
| Ctrl+M | Monitor view and back |
| F11 | Full size: the page in front gets the whole window, and back |
| Ctrl+, | Settings |
| Ctrl+Shift+L | dark / light theme |
| F1 | this Help center |
| Alt+F / V / T / S / H | the menus |
| Esc | restore a maximized display; leave Settings or the Help center |
| Ctrl+Q | exit |
Troubleshooting
| You see | Do this |
|---|---|
| HW offline / no frames | the HW is off, booting or on the other network: check Network (VLAN / DIAG) and Settings › Connection |
| a display says choose | pick its screenshot once in Screens (Detect screenshots shows them all with thumbnails) |
| power buttons greyed out | the tooltip says why - often VCPU Guided Flash Studio owns the bench, another bench action runs (the bench is busy: ... - e.g. ET-FW's 5-minute bus sleep or a test), or the COM port / relay board is not set |
| Camera busy | another program holds the webcam - Start camera takes it over |
| ET-FW controls greyed out | ET-FW is not running or offline - Start and Online on the ET-FW page, Set up ET-FW checks and fixes the installation |
| something looks wrong | Help › Version details (Copy) and logs/genlab_ndk.log belong in every bug report |
Version
The window title and the status bar show the version - GenLab NDK 1.0.0. A click on NDK 1.0.0 in the status bar (or About & versions in this Help center) lists every component - Python, Qt, paramiko, FFmpeg, OpenCV, TurboSSH, TurboADB, jf - with Copy for a bug report.
Metadata
Release files for genlab-ndk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| genlab_ndk-1.0.0-20261122T134542Z-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for genlab_ndk-1.0.0-20261122T134542Z-py3-none-win_amd64.whl |
| genlab_ndk-1.0.0-20261122T054805Z-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for genlab_ndk-1.0.0-20261122T054805Z-py3-none-win_amd64.whl |
| genlab_ndk-1.0.0-20261121T201656Z-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for genlab_ndk-1.0.0-20261121T201656Z-py3-none-win_amd64.whl |
| genlab_ndk-1.0.0-20261121T125637Z-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for genlab_ndk-1.0.0-20261121T125637Z-py3-none-win_amd64.whl |
| genlab_ndk-1.0.0-20261121T074517Z-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for genlab_ndk-1.0.0-20261121T074517Z-py3-none-win_amd64.whl |
Total release size: 263.2 MB
Release files / genlab_ndk-1.0.0-20261122T134542Z-py3-none-win_amd64.whl
| Download URL | genlab_ndk-1.0.0-20261122T134542Z-py3-none-win_amd64.whl |
|---|---|
| Size | 52.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
00c35bd8b34d4650c2fc5a9cdadec89879be5b964a102c0265ef3cffa588e92f
|
|
BLAKE2b-256 checksum How to use checksums |
38284f92d25ccbb15e24e6c2b72cd45825f74a23b10a18757b979c3845fcba77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / genlab_ndk-1.0.0-20261122T054805Z-py3-none-win_amd64.whl
| Download URL | genlab_ndk-1.0.0-20261122T054805Z-py3-none-win_amd64.whl |
|---|---|
| Size | 52.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b54f8495bd36f32df808a3b8d60abf831dfa2d33aef5658dbce6b7141257b774
|
|
BLAKE2b-256 checksum How to use checksums |
3f110d1285e4e2c092c32decc1c7deb305d0137a7c2a4d79f0c8f1b9d3a67159
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / genlab_ndk-1.0.0-20261121T201656Z-py3-none-win_amd64.whl
| Download URL | genlab_ndk-1.0.0-20261121T201656Z-py3-none-win_amd64.whl |
|---|---|
| Size | 52.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e12e2b0840c28cde3d8ff79a283d7e52cdd1e9d8dc34631c9c4c4e0f10b79e2e
|
|
BLAKE2b-256 checksum How to use checksums |
4569231f5169de3bdeae5e1061832ef22d7ab6128aede792134b415934a8b6fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / genlab_ndk-1.0.0-20261121T125637Z-py3-none-win_amd64.whl
| Download URL | genlab_ndk-1.0.0-20261121T125637Z-py3-none-win_amd64.whl |
|---|---|
| Size | 52.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
afff504ee1775dcfb34c9e3ed83c4c1731903b2d9edcc05b279d63341cdb4fcc
|
|
BLAKE2b-256 checksum How to use checksums |
068ab8bed9aa8919a84571d74ba5456433449eb0cd2359494c2c25b5bbb97fc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / genlab_ndk-1.0.0-20261121T074517Z-py3-none-win_amd64.whl
| Download URL | genlab_ndk-1.0.0-20261121T074517Z-py3-none-win_amd64.whl |
|---|---|
| Size | 52.4 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fa93214ff34a65bdd2a7eed6700da4b094f3505bf3ad691fd9d55a0c219dc22f
|
|
BLAKE2b-256 checksum How to use checksums |
5705174b79ab491e2a5bebc9a28601a65dfe006dcb7e88adff10753b3fb2ab49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for genlab-ndk 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.