Must recycle power before macros work

If you have specific questions or problems with any of my Freeware applications, post them here.
Post Reply
Samovar
Posts: 3
Joined: Wed Oct 07, 2020 1:10 pm

Must recycle power before macros work

Post by Samovar »

I'm communicating with a gas flow measurement instrument (Alicat Scientific).
It is capable to output serial data, and at the same time, accept serial commands.
The behavior is the same whether I use "Send String", Macros, or type commands directly into the terminal.
If I connect and send a command the device responds.
If I send another command it is ignored.
If I turn the device off, turn it back on, then send a command, the command is accepted.
I have to cycle power each time before a command is accepted.
My Macro commands all end with \r\n

I've also tested with a no-frills serial terminal I downloaded from Alicat.
This terminal works as I expect.

How do I go about troubleshooting this?

An observation
Displaying the data in hex mode, I find the end of line sequence is 0D 20.
I was not able to add a timestamp to the captured data until I set the termination string to 0D 20.
Samovar
Posts: 3
Joined: Wed Oct 07, 2020 1:10 pm

Re: Must recycle power before macros work

Post by Samovar »

I changed the macro entries end of line from \r\n to \r
Now it works.
Post Reply