Click or drag to resize

IFocuserV3Link Property

State of the connection to the focuser.

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

Property Value

Type: Boolean
Exceptions
ExceptionCondition
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.
Remarks

Must be implemented

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" p[roperty "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.

Do not use a NotConnectedException here, that exception is for use in other methods that require a connection in order to succeed.

See Also