SHOW_SERIAL_DIALOG

Outputs the named serial dialog to a connected serial console.

The concat variant omits the newline at the end of each message, which can enable complex serial output using only MGE scripting logic. (Turn off serial control first, then turn it back on again when finished.)

This action is also available as a combination block: show serial dialog block.

Example JSON

{
  "action": "SHOW_SERIAL_DIALOG",
  "disable_newline": false,
  "serial_dialog": "serialDialogName"
}

MGS Natlang

Examples

script {
  concat serial dialog serialDialogName;
  show serial dialog serialDialogName;
}

Dictionary entries

concat serial dialog $serial_dialog:string (;)
	// built-in value: disable_newline = true

show serial dialog $serial_dialog:string (;)
	// built-in value: disable_newline = false