Click or drag to resize

MotorAPIWaitForHomeDone Method

Waits for asynchronous homing of axis to be done.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 2.3.4
Syntax
C#
public bool WaitForHomeDone(
	out MotorAxis? axis,
	int? timeout = null
)

Parameters

axis  NullableMotorAxis
The axis.
timeout  NullableInt32  (Optional)
Timeout in ms to wait for homing done. null to wait forever.

Return Value

Boolean
true if the Homing Done event occurs within the specified timeout, false otherwise.
Remarks
This method throws a TimeoutException if a timeout occurs before a HomeDone event is received for all requested axes.
See Also