Halt

Scripting ›› FocusControl ›› Methods ››
Parent Previous Next

Halt


Method

Halt ( )


Syntax

FocusMax.FocusControl.Halt()


Parameters

None


Returns

Nothing


Remarks

Immediately stops any operation initiated by a FocusMax.FocusControl Asynchronous method.

This will terminate exposures and stop the motion of any focusers that are capable of being stopped by software commands.

Some focusers such as the Optec TCF-S may not be stopped by this function.


Note that Halt is only useful for the Asynchronous methods such as FocusAsync, FindStarAsync and SingleExposeAsync. Halt cannot be executed during Synchronous methods because these methods do not return control to the script until the operation is complete.