Click or drag to resize

MotorAPIRegisterMoveDoneCallback Method

Register a callback function that is called when an MoveDone event occurs.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 2.3.5
Syntax
C#
public void RegisterMoveDoneCallback(
	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 WaitForMoveDone(NullableMotorAxis, NullableInt32) instead. The callback has the MotorAxis as parameter.
See Also