For a test setup, I have created a small UI using the serial port connected to a VT100 capable terminal (Tera Term). I use the VT100 commands to create a "nice" (for certain values of nice) looking output. This works OK.
But now I periodically (every few seconds) have an amount of data that needs to be stored on the PC. A CVS like output with a 100 lines or so. I can just spit this out after the menu, surrounded by some division lines and copy paste out of the terminal, or dig through the log file (with thousands of VT100 commmands between the data). But there must be an easier way.
Do you know of a way (in Tera Term or other terminal) to automatically save this data? Using some kind of modem protocol for instance?
Preferrably the data does not even show up on the screen and may be even the file name could be set by the serial data.