Menu

#53 Command Line: sendquit v. other parameters for new RS232 device

v3.0.0.30
open
nobody
None
3
2020-01-29
2020-01-28
Eric Keen
No

Greetings,
We're connecting a new RS232 device to our existing RealTerm command line interface for scales. It works as follows:
1) Application calls a command file with parameters device context and settings.
2) Command file calls RealTerm with: capture=outfile.txt sendquit=initFile.txt
3) Application parses outfile.txt for weight.

The new device doesn't respond to an initialization string (see attached manual) but only a Carriage Return ASCII 13. Is it recommended to use new command line parameters and eliminate the sendquit file? Currently we use the settings below an putting a blank line in the init file fails.
Windows:
start "Scale %1" /wait %RT% port=%port% baud=%baud% flow=0 controls=0 vs=0 capture=%outfile% sendquit=%1.init capsecs=%capsecs% CR LF LFNL

Thanks in advance,
Eric

1 Attachments

Discussion

  • Eric Keen

    Eric Keen - 2020-01-29

    Thanks for the recommendation Simon and we'll use this in the future. The problem was solved BTW by updating the scale head firmware.

     

Log in to post a comment.

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.