| IFocuserV2CommandString Method | 
 Transmits an arbitrary string to the device and waits for a string response.
 Optionally, protocol framing characters may be added to the string before transmission.
 
 
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
 Syntax
Syntaxstring CommandString(
	string Command,
	bool Raw = false
)
Function CommandString ( 
	Command As String,
	Optional Raw As Boolean = false
) As String
String^ CommandString(
	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: 
String
 Returns the string response received from the device.
 
 Exceptions
Exceptions| Exception | Condition | 
|---|
| MethodNotImplementedException | If the method is not implemented | 
| NotConnectedException | If the driver is not connected. | 
| DriverException | Must throw an exception if the call was not successful | 
 Remarks
RemarksCan throw a not implemented exception
 See Also
See Also