Is there a way to turn on/off logging from a macro? Yes with YAT 2.5.0 and above.
Yet Another Terminal :: Serial Communication :: Engineer/Test/Debug
Brought to you by:
maettu_this,
y-a-terminal
Hi,
Thanks again for YAT, been using it with great success for years.
So,
As in the subject line.
Is there any way to start and stop logging from within a macro? This would be handy to automate a process I'm working on. Went through the features on the latest versions, but don't seem to see way to do it. I may just be missing something,
Hi,
on sending
Indeed, there is not keyword to achieve this on sending (yet), such as
\!(LogOn)
, but could easily be added. You may request a feature like this.on receiving
This feature exists, see the attached screenshot with the currently supported automatic actions. Simply define a trigger and select the action.
Best regards,
Matthias
Thanks for the reply.
Hmmm, I'll have to explore the receive action triggers. These are very new to me.
I may be able to use them to turn on logging for my application, but would still need a keyword action to turn logging off via another macro/predefined command.
I will submit a feature request. Hopefully it will be as simple to implement as you imply.
Buenas noches, no conozco bien el programa, mi problema es que no puedo entrar a la consola no he entendido como puedo entrar, en el programa Putty lo hago con la tecla enter y conectando la tarjeta al mismo tiempo .. pero en yat no he logrado entrar .. perdón por el idioma yo hablo español. Gracias
Google translated to English:
Good night, I do not know the program well, my problem is that I cannot enter the console I have not understood how I can enter, in the Putty program I do it with the enter key and connecting the card at the same time .. but in yat I have not managed to enter .. sorry for the language I speak Spanish. Thanks
Mario, is this the same inquiry as this post? Please see there for additional information. YAT is not a terminal emulator! Apart from that, sending happens by sending what has been entered into 'Send Text' followed by the configured EOL sequence (for text terminals). Of course, settings must match.
If this still doesn't help, please provide reproducible steps on what you try to achieve. You may also post a video or dropbox it to the email stated in 'Help > About'.
Additional keywords
\!(LogOn|Off|Toggle)
allowing to change logging on-the-fly implemented for upcoming YAT 2.4.2. If you'd like preliminary binaries with the new keywords, reply here or send an email via the SourceForge mail feature or send an email to the address shown in YAT's [Help > About...] dialog and I will provide YAT preliminary binaries via Dropbox.The recently released YAT 2.5.0 (instead of 2.4.2) now provides the additional keywords mentioned above.
Thread subject "Is there a way to turn on/off logging from a macro?" changed to "... Yes with YAT 2.5.0 and above."
Last edit: Maettu 2022-12-27
Hello
related to this discussion
what should i insert in the trigger/pattern field to "!(LogOn|Off|Toggle)" each 1 milion lines?
Thanks for the support
Danilo
Hi Danilo,
There is not yet any possiblity to implement such logic when receiving data, will become available with scripting.
Best regards,
Matthias