Click or drag to resize

MotorAPIRegisterHomeDoneCallback Method

Register a callback function that is called when a HomeDone event occurs.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 2.3.5
Syntax
C#
public void RegisterHomeDoneCallback(
	Action<ClientAPI, int> action
)

Parameters

action  ActionClientAPI, Int32
The callback function.
Remarks
Note that this callback runs inside the clientLib context and can block the computation of other tasks. Consider calling WaitForHomeDone(NullableMotorAxis, NullableInt32) instead. The callback has the MotorAxis as parameter.
See Also