Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1

THEMA: Problem with the function "messageBox" in LUA

Problem with the function "messageBox" in LUA 03 Feb 2019 17:23 #1

  • NicoS
  • NicoSs Avatar Autor
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Beiträge: 313
  • Dank erhalten: 73
In a LUA program I use the function "messageBox". Now I notice that the text in box is also included in the log file as an alarm.

For instance:
000138042; 0000000000; 15; 16; 0; GPS Not Locked; 0; 0
or
000334699; 0000000000; 15; 16; 0; LiPo Voltage Low; 0; 0

In the LUA programming API nothing can be found here. In itself it is not a big problem. In the Jeti Studio, displaying alarms can be disabled. But it is better not to write the text from the message box as an alarm to the log file.

Does anyone have an idea how to disable this?

best regards,

Nico

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Problem with the function "messageBox" in LUA 11 Feb 2019 11:02 #2

  • NicoS
  • NicoSs Avatar Autor
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Beiträge: 313
  • Dank erhalten: 73
None of the LUA specialists has a solution?

Regards,

Nico

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Problem with the function "messageBox" in LUA 11 Feb 2019 13:22 #3

  • IG-Modellbau
  • IG-Modellbaus Avatar
  • Abwesend
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 663
  • Karma: 10
  • Dank erhalten: 322
Hello Nico,
I think "System.messageBox(..)" is mainly used for error or alert messages.
Therefore it make sense to add the massage in the log too.
I also did not find a way to prevent this.

Ingmar

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Seite:
  • 1
Moderatoren: Thorn
Ladezeit der Seite: 0.165 Sekunden
Powered by Kunena Forum