MotorAPIWaitForMoveDone(MotorAxes, NullableInt32) Method |
Waits for move of axes to be done.
Namespace: RAYLASE.SPICE3.ClientLibAssembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 2.3.4
Syntaxpublic bool WaitForMoveDone(
MotorAxes axes,
int? timeout = null
)
Parameters
- axes MotorAxes
- The axes.
- timeout NullableInt32 (Optional)
- Timeout in ms to wait for move done. null to wait forever.
Return Value
Booleantrue if a
MoveDone event occurred for all requested axes before the given
timeout,
false if wait was interrupted using
InterruptWaitForMoveDone.
Remarks
This method throws a TimeoutException if a timeout occurs before a MoveDone event is received for all requested axes.
See Also