Problem with the function "messageBox" in LUA

  • NicoS
  • NicoS's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 489
  • Thank you received: 146

TPL_KUNENA_MESSAGE_CREATED Problem with the function "messageBox" in LUA

03 Feb 2019 16:23
#1
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

Please Log in or Create an account to join the conversation.

  • NicoS
  • NicoS's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 489
  • Thank you received: 146

TPL_KUNENA_MESSAGE_REPLIED_NEW Problem with the function "messageBox" in LUA

11 Feb 2019 10:02
#2
None of the LUA specialists has a solution?

Regards,

Nico

Please Log in or Create an account to join the conversation.

  • IG-Modellbau
  • IG-Modellbau's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3781
  • Thank you received: 2809

TPL_KUNENA_MESSAGE_REPLIED_NEW Problem with the function "messageBox" in LUA

11 Feb 2019 12:22
#3
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

Please Log in or Create an account to join the conversation.

Moderators: ThornIG-Modellbau
Time to create page: 0.326 seconds
Powered by Kunena Forum