Syntax
promptOptions(title, description, options, channels?, resolution?, auto_acknowledge?, system?, subsystem?)Available in
- File scope
- Executable DCode bodies
Native C++
Lua only. This runtime function has no Native C++ code-generation binding.
Example
promptOptions("title", "description", {"option"})Inputs
title(string): ARGUS titledescription(string): ARGUS body textoptions(table): Selectable option strings channels(table<string|table>): ARGUS graph specification. One graph: {“|temperature|@1”, “>100@1”}. Multiple stacked graphs: {{“|temperature|@1”}, {“|pressure|@1”, “=50@2”}}. Commas add series, nested tables 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 itsystem(string): ARGUS system groupingsubsystem(string): ARGUS subsystem grouping
Outputs
response(string): Selected option