Menu

loop sending ascii characters with delay

Anonymous
2021-10-16
2021-10-20
  • Anonymous

    Anonymous - 2021-10-16

    hello:

    Is there a way to have Script Communicator run a script that loops. It would simply send the ascii characters in I have stored in the script then pause for a set time period then loops to begin sending ascii characters again in a continous loop

     
  • Stefan Zieker

    Stefan Zieker - 2021-10-18

    Hi,

    you can do this with a timer. You can find an example in the attachment.

     

    Last edit: Stefan Zieker 2021-10-18
  • Anonymous

    Anonymous - 2021-10-19

    Many thanks for the information - my last question is about sending several binary or hex numbers in the loop. Could you type here how its done. What is its syntax for multiple numbers in binary or hex being sent

    Thanks!

     
  • Stefan Zieker

    Stefan Zieker - 2021-10-20

    You can use scriptInf.sendDataArray for that. You can find an example in the attachment.

     

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.