boardFaultLogGetDebug (Function) |
Top Previous Next |
The boardFaultLogGetDebug is used to read the debug information of a fault log entry from the VPL application. The function is designed to be used together with the boardFaultLogGet function block. Where boardFaultLogGet reads the fault log and boardFaultLogGetDebug reads the additional debug information if present.
The debug information returned in this function can also be read from the RTCU IDE.
Input: index : INT; The index of the fault entry to read.
Output: filename : STRING; The file name of the file where the fault occurred.
line : DINT; The approximate line number in the file where the fault occurred.
threadid : INT The ID of thread which executed the last know line of code.
Returns: BOOL
Declaration: FUNCTION boardFaultLogGetDebug; line : ACCESS DINT;
Example: INCLUDE rtcu.inc ... END; |