Page 1 of 1

Serial comm to cmd batch

Posted: 11 Jun 2011 03:50
by tebee
I have one equipment sending status on rs-232, sent data is arranged for vt-100 terminal display.
I need to peek fields data and process further, either using third-party or build-in batch. I need only rx (actually i neither know if communication is bidirectional).
I use plink.exe to open the rx comm's, of course data is not compatible with dos, because of escape codes.
I thought one way could be to write a log by plink.exe and read further by tail, actually focus is on last five rows of data, as seen on vt100 emulator ouput. However the <0x20 ascii will be always there and i need to filter out first, then find field position and catch the content. Any suggestion? Anyone knows if there is any usenet|goolge group to bear?

Cheers