Menu

#61 command line to send string or number to running only works once

v2.0.0.70
awaiting-testing
nobody
V3.0.0.24
5
2015-05-23
2013-12-06
No

Window 7 64 bit
Real Term Version 2.0.0.70

When running realterm in command line mode with the first option in command batch file, only the first command sends the data on the com port. The second command does not send the data.

See attached batch file.

I have tried both sendstr with the Python escape sequences and sendnum with space separated 2 character hex digits and both work the same.

I have tried both quoted and non-quoted string for the sendstr version.

I have tried putting a "cmd /C" before each command.

The strange thing is that I can run multiple commands from the command line prompt without an issue.

You can also click back on the cmd window during the 4 second ping delay and then the second command will work.

It seems like some sort of window focus issue. The first command seems to shift the focus to the realterm app and then it ignores all other commands. By clicking on the cmd window you shift the focus back to the cmd window and then the realterm command will run correctly.

1 Attachments

Discussion

  • Simon Bridger

    Simon Bridger - 2015-05-23

    Ticket moved from /p/realterm/support-requests/15/

    Can't be converted:

    • _milestone: v1.0 (example)
     
  • Simon Bridger

    Simon Bridger - 2015-05-23
    • status: open --> awaiting-testing
    • Fixed_in_Version: --> V3.0.0.24
    • Version: v1.0 (example) --> v2.0.0.70
     
  • Simon Bridger

    Simon Bridger - 2015-05-23

    Fixed on w7 32bit. Please retest. Should work minimised, but not when realterm is invisible (which has no window handle, so can be found to get messages...)

    Note change requiring first instance to be launched with first=1.

     

Log in to post a comment.