Problem with the function "messageBox" in LUA
- NicoS
- Offline Autor
- Platinum Mitglied
- Beiträge: 489
- Dank erhalten: 146
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
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
von NicoS
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- NicoS
- Offline Autor
- Platinum Mitglied
- Beiträge: 489
- Dank erhalten: 146
None of the LUA specialists has a solution?
Regards,
Nico
Regards,
Nico
von NicoS
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- IG-Modellbau
- Offline
- Moderator
- Beiträge: 3367
- Dank erhalten: 2412
IG-Modellbau antwortete auf Problem with the function "messageBox" in LUA
Posted 11 Feb. 2019 13: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
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
von IG-Modellbau
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Moderatoren: Thorn, IG-Modellbau
Ladezeit der Seite: 0.960 Sekunden