Skip to main content

NRC_ClearAllError()

Clear all errors

Empty the message queue and clear server errors at the same time

Not all servo errors can be cleared directly, some errors need to be eliminated before they can be cleared

Type

int=>Clear all errors

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

None

Sample code

NRC_ClearAllError();