Serial comm to cmd batch

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
tebee
Posts: 13
Joined: 21 May 2011 08:41

Serial comm to cmd batch

#1 Post by tebee » 11 Jun 2011 03:50

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

Post Reply