On 2018-12-07
raimond....@gmail.com wrote in comp.arch.embedded:
> vineri, 7 decembrie 2018, 14:20:42 UTC+2, Stef a scris:
>> 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.
>> He who foresees calamities suffers them twice over.
>
> The easier way would have been a real software for the PC.
> But you invested in a no-pc-software solution and you dig now
> for a work-around.
> Maybe a python script or something like that to extract
> your real data from the log file full of VT100 commands?
> But this is also a kind of pc software...
How would this be easier? It requires developing a PC application.
Remember this is just for testing. The final device will just have
a start button and a few indicator lights. But during testing having
some intermediate results is required.
And yes, I can just search the logs for the data. I was just hoping
there is an easier solution for this temorary 'problem'.
--
Stef (remove caps, dashes and .invalid from e-mail address to reply by mail)
(null cookie; hope that's ok)