Docs menu

Native Components

IO Monitor

A compact, semantic, read-only diagnostics card for controller I/O. HARDWARE VALIDATED on the current ESP32-P4 evidence ledger.

#8 — IO Monitor

IO Monitor in the implemented ForgeUI Native Component library.

A compact, semantic, read-only diagnostics card for controller I/O.

  • Machine I/O diagnostics
  • Digital state monitoring
  • Analog measurement display
  • PLC-style status panels

Inspector capabilities and presentation

  • Digital Input, Digital Output, Analog Input and Analog Output rows
  • One to 32 bounded rows
  • Per-row channel, label, units, state and colour
  • Add, remove, reorder and compact presentation

The component remains one serialized Canvas object. Browser Preview, Live Studio and Standalone Export consume its normalized semantic model while internal LVGL composition stays private.

Generated Runtime SDK family

c
bool FG_Set_<IOMonitor>_DigitalInput(const char * channel, bool state);
bool FG_Set_<IOMonitor>_DigitalOutput(const char * channel, bool state);
bool FG_Set_<IOMonitor>_AnalogInput(const char * channel, float value);
bool FG_Set_<IOMonitor>_AnalogOutput(const char * channel, float value);

Interaction and UserEvents

c
No UserEvents are generated.

IO Monitor is intentionally read-only. Its rows do not respond to touch; missing touch interaction is not a defect.

Where hooks exist, implement the exact declarations in 95_UserEvents.c. Runtime SDK calls never simulate user input.

Ownership boundary

ForgeUI owns semantic presentation, private LVGL composition, generated contracts, persisted identity, fixed storage and Browser/Live/Standalone alignment.

Browser, Live, Standalone and ESP32-P4 status

SurfaceStatus
Browser PreviewImplemented
Live StudioImplemented
Standalone ExportImplemented
Persisted identity and duplicate isolationImplemented
ESP32-P4HARDWARE VALIDATED