Click or drag to resize

FocuserLink Property

State of the connection to the focuser.

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public bool Link { get; set; }

Property Value

Type: Boolean

Implements

IFocuserV3Link
Exceptions
ExceptionCondition
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks

Set True to start the connection to the focuser; set False to terminate the connection. The current connection status can also be read back through this property. An exception will be raised if the link fails to change state for any reason.

Note

The FocuserV1 interface was the only interface to name its "Connection" property "Link" all others named their "Connection" property as "Connected". All interfaces including Focuser now have a Connected method and this is the recommended method to use to "Connect" to Focusers exposing the V2 and later interfaces.

Applications using DriverAccess can always use Connected because DriverAccess implements Connected using the Link property for V1 drivers but applications that call the driver directly should check the InterfaceVersion property and call Link for V1 drivers.

See Also