DCode
Covers Engine 2.0.0
message
Report an ARGUS message and return a numeric host result, normally 1. Reporting does not wait for acknowledgement or resolution.
Syntax
message(title, description, channels?, resolution?, auto_acknowledge?, firing_timeout_seconds?, system?, subsystem?)Available in
- File scope
- Executable DCode bodies
Native C++
Native C++ calls this function through the engine host. It can allocate or block; review use in a control callback.
Rules
- Arguments are positional. Firing timeout defaults to five seconds after the latest detection; zero requires stop_event_firing. Repeated reports aggregate detections within one firing occurrence.
Example
message(title, description, [], "", 0, 0)Inputs
title(string): ARGUS titledescription(string): ARGUS body textchannels(array<string|array>): ARGUS graph specification. One graph: [“|temperature|@1”, “>100@1”]. Multiple stacked graphs: [[“|temperature|@1”], [“|pressure|@1”, “=50@2”]]. Commas add series, nested arrays add graphs, and @1 through @5 selects a series or overlay Y axis. Series may be |channel|, >value, >=value, <value, <=value, or =value. resolution(string): Recommended operator actionauto_acknowledge(integer seconds): Seconds before visual acknowledgement; zero disables itfiring_timeout_seconds(number seconds): Inactivity timeout in seconds; defaults to 5. Zero requires explicit stop.system(string): ARGUS system groupingsubsystem(string): ARGUS subsystem grouping
Outputs
result(number): Numeric host result, normally 1; this is not an event ID