Function summary format
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
The LOG option generates output that looks like this:
FunctionName(arg1, arg2, ...) [ErrorCode]
During query execution, progress messages are written to the log file. Each progress message is of the form:
(HandleId): Calls: n PctDone: n Etime: n Limit: n
The items reported are:
-
Number of calls to get PI data from other subsystems.
-
Percent complete, based on an initial estimate.
-
Elapsed time since the start of execution, in seconds.
-
Timeout (Limit) in seconds. If this number is 0, no timeout limit has been set.
For example:
newstatement(8,21) [0]
clear(21,1) [0]
clear(21,0) [0]
Prepare[21]>[0][0.431s] select * from picomp
where tag = "sinusoid" and time > "y"
execute(21,¶ms) begins...
callback(21): Calls: 1 PctDone: 0 Etime: 1 Limit: 0
fetch(21,*results) [0]
clear(21,1) [0]