Adds a custom TMC event. This event is independent on the events received online.
Error | Additional error information returned from Drive. |
TmcEvent | TMC event defined in the STmcEvent class. |
MaxTime | Maximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited. |
Possible error codes returned from Drive are:
References SError.SizeOf(), and STmcEvent.SizeOf().