Moves the focuser by the specified amount or to the specified position depending on the value of the Absolute property.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
void Move(
	int Position
)
Visual Basic
Sub Move ( _
	Position As Integer _
)
Visual C++
void Move(
	int Position
)

Parameters

Position
Type: System..::..Int32
Step distance or absolute position, depending on the value of the Absolute property.

Remarks

Must be implemented

If the Absolute property is True, then this is an absolute positioning focuser. The Move command tells the focuser to move to an exact step position, and the Position parameter of the Move method is an integer between 0 and MaxStep.

If the Absolute property is False, then this is a relative positioning focuser. The Move command tells the focuser to move in a relative direction, and the Position parameter of the Move method (in this case, step distance) is an integer between minus MaxIncrement and plus MaxIncrement.

Exceptions

ExceptionCondition
InvalidOperationExceptionIf a Move operation is requested when TempComp is True
NotConnectedExceptionIf the device is not connected.
DriverExceptionMust throw an exception if the call was not successful

See Also