Menu

Updating a list of numbers on a serial port

Anonymous
2019-02-06
2019-02-06
  • Anonymous

    Anonymous - 2019-02-06

    I would like to read a file containing a list of nubers, then sending those number one at a time, waiting for a reply, then sending the next number until the end of the file.
    What would be a good way to do this?

     
  • Stefan Zieker

    Stefan Zieker - 2019-02-06

    Hi,

    you can find an example script in the attachment which:
    - reads in a text file
    - waits on a text command in dataReceivedSlot
    - sends a line if the command has been received
    - stops itself after the last line has been sent.

     

Anonymous
Anonymous

Add attachments
Cancel