Optional

Telescope.CommandBool() Method

Send a string comand to the telescope, returning a true/false response

Syntax

Telescope.CommandBool(Command [, Raw])

The method syntax has these parts:

Part Description
Command (String) The command string to be sent to the telescope
Raw (Boolean) Bypass any delimiters or framing around the command (optional, default = False)
Return (Boolean) True if the response indicated true or success, else False.

Remarks

If the optional Raw parameter is set True, the driver must not insert or append any delimiters; this must send the unmodified raw string directly to the device. If the driver cannot support Raw=True, it must raise an error if Raw is set to True.
If you use this feature of the Telescope driver interface, your application will be dependent on the low-level protocol used by the particular scope you are connected to. Thus your application will not work with any arbitrary type of telescope.

Raises an error if there is a problem communicating with the telescope.

The returned value is the Automation-compatible Boolean type, True or False. It is the responsibility of the driver implementing this interface to translate raw response data to True/False values for return. If you want to see the raw response string, see CommandString().