50
LT360 Precision Turntable
DLL Programming Manual
■ Class Get (in)
■ Identifier lt_GetPosition
■ Hex Value 0x9C
■ Call LT360LIB_CmdValue(Handle, lt_GetPosition, RtnStr);
■ Returns '±nnn.n'
Description
This command returns the current position of the LT360 in degrees. The
value is returned as a string with tenths of degree precision. The value may
be 0 to +360.0 or 0 to ±180.0 depending on the settings for the display
polarity.
This command is very useful when you want to know the current position of
the LT360, or 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 Moving command until
the NO value 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.
2.32 Get Position