Menu

Is there a way to turn on/off logging from a macro? Yes with YAT 2.5.0 and above.

Logging
Skashkash
2021-06-28
2024-04-07
  • Skashkash

    Skashkash - 2021-06-28

    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,

      Thanks,
    
     
  • Maettu

    Maettu - 2021-06-29

    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

     
  • Skashkash

    Skashkash - 2021-06-29

    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.

     
  • Mario

    Mario - 2021-10-05

    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

     
    • Maettu

      Maettu - 2021-10-05

      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

       
      • Maettu

        Maettu - 2021-10-05

        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'.

         
  • Maettu

    Maettu - 2022-03-28

    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.

     
    • Maettu

      Maettu - 2022-12-26

      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
  • Anonymous

    Anonymous - 2024-04-06

    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

     
    • Maettu

      Maettu - 2024-04-07

      Hi Danilo,

      There is not yet any possiblity to implement such logic when receiving data, will become available with scripting.

      Best regards,
      Matthias

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.