Menu

Add a "silent" parameter to connectSerialPort call

Anonymous
2019-12-31
2020-01-01
  • Anonymous

    Anonymous - 2019-12-31

    Hi Stefan,
    In some use-cases, I need to (re)open serial port programatically. Should that fail for some reason, connectSerialPort will block script execution until a user clicks on "OK" in window displaying "could not open serial port: ...". In my case this is undesired, as I need to have possibility to handle the error within the script without any user intervention.

    While this could be solved though an additional serial interface approach, it would be great to have a parameter for connectSerialPort function to inhibit any modal dialogs being displayed.

    Best regards,
    Nikola

     
  • Stefan Zieker

    Stefan Zieker - 2020-01-01

    Hi Nikola,

    yes you are right you can solve this with a separate interface at the moment, I think I will add the feature in the future.

    Regards,
    Stefan

     

Anonymous
Anonymous

Add attachments
Cancel