TOnTpLogCB
Features
This is a callback function that is called when user log features are used in the robot controller. As the callback function is executed automatically in the case of a specific event, a code that requires an excessive execution time (within 50 msec) within the callback function should not be made.
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
strLog | string | - | 256bytes string |
Return
None.
Example
void OnTpLogCB(const char* strLog)
{
// When tp log command is called
}
int main()
{
Drfl.SetOnTpLog(OnTpLogCB);
}