add_analyzer
Add a protocol decoder to the KingstVIS configuration by selecting a plugin and channel mapping, then restart the software to load it.
Instructions
Add a built-in decoder (script control, no GUI): writes vis.config's and optionally restarts KingstVIS to load it.
plugin: 'PWM', 'UART', 'libI2C.dylib' ... (see list_analyzer_plugins). channels: one entry per channel field, in the plugin's field order — PWM/UART/CAN: [ch]; I2C: [sda, scl]; SPI: [clk, mosi, miso, cs]. Each channel must be an int 0..15. When channels is omitted the plugin's built-in default binding is used. parameters: raw SimpleArchive settings string when defaults don't fit. allow_overlap=true permits sharing channels with another analyzer; replace=true updates an existing instance of the same plugin. UNIO is known to SIGSEGV KingstVIS and is refused unless allow_crashy=true. After restart: start() -> export_decoded(analyzer=slot).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | ||
| replace | No | ||
| restart | No | ||
| channels | No | ||
| format_id | No | ||
| parameters | No | ||
| allow_crashy | No | ||
| allow_overlap | No |