|
GPS ToolKit.NET
BaudRate Property
Returns the baud rate of the GPS connection's COM port.
Syntax
[Visual Basic]
object.BaudRate
[C#]
object.BaudRate
[C++]
object->BaudRate
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
An integer representing the baud rate of the port.
Remarks
- This value is read only.
- If GPS ToolKit is reading from a NMEA 0183 log file, this value will be 0.
Example
[Visual Basic]
'Get baud rate
Dim baudRate As Integer
baudRate = myGPSToolKit.BaudRate
[C#]
// Get baud rate
int baudRate = myGPSToolKit.BaudRate;
[C++]
// Get baud rate
int baudRate = myGPSToolKit->BaudRate;
See Also
Open method | Close method
|