Download my thesis
Transcript
A Real Time Kinematic GPS System Via the Internet 10.4.5 Logging Rover Receiver Data The LOG function was explained in two pages before. Command: LOG [port] [data] [ontime] [seconds] Note for PRTKA: Type = Positioning, Trigger = ontime or onmark 10.4.6 Display Rover Location When this button is pressed, the Rover location would be displayed in the table at the bottom of the applet. It gets the data from the Rover receiver: Figure 10.4 - A sample of the logged data from the Rover receiver By using the Java Communication package (javax.comm), the RS-232 serial communications port which is a low-level made available by the underlying system. SerialPort defines the required functionality for serial communication ports. This applet reads the logged data from the serial port and converts them into type String. By using array, it then selects the useful information and displays them in the table. There are two ways this button can work: - Displaying logged data from COM1 or COM2 in real time - Displaying logged data from a file which has been saved 58