|
GPS ToolKit.NET
WriteRawToGPS Method
Writes data to the GPS.
Syntax
[Visual Basic]
object.WriteRawToGPS(WriteString)
[C#]
object.WriteRawToGPS(WriteString)
[C++]
object->WriteRawToGPS(WriteString)
Parameters
object
An object expression that evaluates to a GPS ToolKit object.
WriteString
A string containing the data to be written to the GPS.
Return Value
An integer indicating the number of bytes written to the GPS.
Remarks
None
Errors
Attempting to write to the output queue when the port is closed will cause
GPS ToolKit to throw PortClosedException
Example
[Visual Basic]
myGPSToolKit.WriteRawToGPS("This is a test") 'Writes "This is a test."
[C#]
myGPSToolKit.WriteRawToGPS("This is a test"); // Writes "This is a test."
[C++]
myGPSToolKit->WriteRawToGPS("This is a test"); // Writes "This is a test."
See Also
WriteRawBinaryToGPS method
|