Skip to main content
Skip table of contents

TOnDisconnectedCB

Features

This is a callback function for checking if the connection with the robot controller has been terminated by external force or user. 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

None

Return

None.

Example

CPP
void OnDisconnectedCB()
{
// Needs the reconnection of the robot controller and error handling
}

int main()
{
drfl.SetOnDisconnected (OnDisconnectedCB);
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.