58
LT360 Precision Turntable
DLL Programming Manual
2.39 Get Moving
■ Class Get (in)
■ Identifier lt_GetMoving
■ Hex Value 0xA3
■ Call LT360LIB_CmdValue(Handle, lt_GetMoving, RtnStr);
■ Returns 'CCW' or 'CW' or 'NO'
Description
This command returns the rotational status of the LT360. Three possible
string values can be returned:
CCW - rotating counter clockwise
CW - rotating clockwise
NO - not rotating
This command is very useful when you want to know if the LT360 has
completed a movement. It can be used in a polling loop to see when the
LT360 step or goto command has finished. Another alternative method
would be to call the Get Position command until the desired location is
returned.
When using either method in a polling loop, the frequency of calls should be
reasonable. Typically, testing for movement completion once every second
is more than adequate.