AGG Software
Ask a question  Top  Previous  Next

Protocol files

This file type let save all data exchange story between Advanced Serial Port Monitor and the receiving side. In the protocol file can be written both receiving and transmitting data. Data source write access to protocol file is set  in menu "Options" of the main window (pic.1). For quick access to file forming setting window use button in the main window.

 

creating-protocol-file-mode

Pic.1 Protocol files configuration

 

There are some possibilities of protocol file forming:

 

One file for all data - all data are protocoled in one file, name and position of which you show;
Data sent and received in different files - sending and receiving data can be placed in separate files. You need to specify file path and name for each data direction;
Each sent and received packet in different file - in this mode each sent and received data portion is written into separate file. Set the folder, where files will be created. File name is formed from prefix (which you can set up) and auto increasing number. Incoming data packets must be formed by sending side with frequency not less than 300ms. Otherwise receiving data will be written as one packet. Since file name is auto formed, such situation is possible when file with the name of already existing file will be formed. Then former file will be deleted and new file will be written on its place. You can set up that new data will be written at the end of existing file.

 

Write activation into protocol file of receiving data is on pressing "hot key" or at file write access state change in the main window.

 

With field "Separator between data packets" you can specify character or string of characters, which ASPM will insert in the file between portions of data. This option helps you to analyze log files later, in the offline.

 

As separator you can use datetime stamp. Enable it with "Write date/time stamp to file before writing data" options. ASPM will insert in the file between portions of data too. Format of stamp you can configure with additional dialog window.

 

Attention: On write activation to file in the first two modes all data in it, if it existed would be saved, that' s why watch file size not to have unlimited volume growth!

 

Exists two modes of protocol files creation:

 

1.Without any changes - data receiving and sent are saved to file without any modification. View on screen and data in file will have different view. To analyze data in formed files you can using any other software (Notepad for example). Binary data can be analyzed with the help of any program for work with hex data. We recommend to use Total Commander as instrument combining all necessary functions;
2.As you see it on screen - data receiving and sent are saved to file with same format as on screen in the main program window (without colors).

 

I you need data in the file with text highlighting, then:

 

1.Set up high screen capacity;
2.When you'll receive and sent all necessary data right-click over data window and select "Save screen to file";
3.Select type of file: RTF or HTML. These file types supports text highlighting;

4.        Type file name and click "Save";

5.Later, RTF file you can open with Wordpad or Microsoft Word, and HTML file with any web browser, Internet Explorer for example.



Copyright © 1999-2016, AGG Software.
All rights reserved.