Click or drag to resize

ICameraV3CommandBool Method

Transmits an arbitrary string to the device and waits for a boolean response. Optionally, protocol framing characters may be added to the string before transmission.

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
bool CommandBool(
	string Command,
	bool Raw = false
)

Parameters

Command
Type: SystemString
The literal command string to be transmitted.
Raw (Optional)
Type: SystemBoolean
if set to true the string is transmitted 'as-is'. If set to false then protocol framing characters may be added prior to transmission.

Return Value

Type: Boolean
Returns the interpreted boolean response received from the device.
Exceptions
ExceptionCondition
MethodNotImplementedExceptionIf the method is not implemented
NotConnectedExceptionIf the device is not connected.
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

May throw a MethodNotImplementedException.

See Also