AGG Software
Ask a question  Top  Previous  Next

Protocol and errors handling

While the program execute, she generates many messages about errors and events. All these messages are being registered in a protocol file. This can be start or stop of the program, some messages from plug-in modules etc. On this tab you can define the kind of messages, which you want to put a protocol file (fig. 6.3.1). Here you can set maximum protocol file size and a formatting mode. Usually, the protocol file is in a program folder and has the name of the program with the 'log' extension.

 

 

options protocol

Fig. 6.3.1 Protocol settings

 

Advanced Serial Data Logger works with three types of messages:

 

Information messages - this type of messages informs you on operations which are fulfilled in the current time;
Warnings - warns you of possible failures or possible errors. Interference of the user is not required, but check is required;
Errors - the program has detected an error which elimination needs involvement of the user.

 

There is the possibility to log following events:

 

Program messages - messages about start or stop of the program, etc.;
Data query - messages which are generated in a data query module;
Data parser - messages which are generated in a data parser module;
Data export - messages which are generated in a data export module;
Other - messages that can not be associated with types above.

 

You can write each type of messages to a protocol file or/and to the list in the main window. Please, specify necessary options for each message type at "Window" and "File" fields.

 

If you don't want to allow to grow a protocol file size to an unlimited size, then you can enable the "Clean protocol at program start" or limit protocol file size in the "Size" field.

 

Some exceptional messages can occur while the program execute. In most cases these messages crash the program and the most safe way is to restart the program. Please, specify the "Restart program at exception" option and the program will be restarted automatically.

 

If you want look all program messages, then you can disable the "Don't display messages at unhandled exceptions" check box and the program will open the exception message window with detailed information.




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