double GetSwitchValue(
short id
)Function GetSwitchValue (
id As Short
) As Double| NotConnectedException | When Connected is False. |
| DriverException | An 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. |
| InvalidOperationException | If there is a temporary condition that prevents the device value being returned. |
| InvalidValueException | If id is outside the range 0 to MaxSwitch - 1 |