WWW.NNC.IR
Useful Functions for Operation
127
3
Performing Test Measurement/Starting Operation
Vision System FH/FZ5 Series
User’s Manual (Z340)
6 Specify the destination.
7 Click [OK].
For details on operation logs, refer to Operation Log Format (p.127)
Operation Log Format
• The operation log is stored in a file indicating the date and time as follows in the directory specified as the
save destination.
YYYY-MM-DD_HH-MM-SS.log (example: 2012-08-20_12-00-00.log)
• The date and time shown in the file name is the date and time at which the log file was created.
• The maximum size for a log file is about 100 KB. If a log file is larger than 100 KB, the log is written into a
new file from the first record over 100 KB.
• When the log is stopped, then started again, a new log file is created.
• Also during operation log execution, if the save destination directory setting is changed, at that point in
time, a new log file is created in the new save destination.
• Use Excel or other spreadsheet software to open the log file. If the characters are corrupted, set the
character code to UTF-8 with the BOM.
• Basically, information is saved when the API (application program interface) is executed. The information for
one piece of API information is written into the log file as one record.
The format for each record that is written to the log file is as follows: The four data items, the execution date
and time, user name, input information, and output information, are delimited with semicolons. At the end of
the record, a line feed (CR+LF) is entered.
(Execution date and time); (user name); (input information); (output information) [LF+CR]
Examples:
2012/08/20 12:00:00;user0;SetSystemData,"XX","YY","ZZ";0
2012/08/20 12:00:01;user0;GetSystemData,"XX","YY";0,"ZZ"
For the operation log input information written in the operation log file, refer to
Operation log input information
list (p.864).
• The contents of operation log files cannot be checked on the Controller. On a computer, open the file with a text editor or
change the delimiter characters to semicolons (;) with spreadsheet software.
Execution date and time The date and time at which this API was executed.
Username
The name of user that is currently logged in.
If no one is logged in, the character string "no login" is entered.
Input information
The API name is followed by supplemental information (mostly API arguments), delimited
with commas.
Output information
The API return value is followed by supplemental information (mostly information gotten by
the API), delimited with commas.