_____________
Taiwan Falcon Aerospace Corporation
________________
14
3 Data Logger Demo Pr ogr am (for MGL-30R/U)
As we mentioned in the previous sections,
MGL-30
can be used as an ordinary
real-time GPS locator (to output general NMEA messages), and
in the mean time it
also logs (stores) the GPS data (default format is shown in section 3.5. TFAC can
modify the format for customer ’s design upon request) to its on-board flash
memory
. The TFAC supplied “
GPSLOGDM.EXE
” is a Win98/ME/2000
application software program that is used to demonstrate and test data logging
functions of
MGL-30R
or
MGL-30U
. It will, according to the configuration, start
recording upon power on and stop on running out of storage.
Before using it, users
should turn off or disconnect the TFAC supplied “
GPS NMEA Monito
r
” demo
software first. As to programming guideline of data logger functionality of
MGL-30
,
which is frequently used in advanced embedded system design, please refer to TFAC
supplied another “
Progr amming Guideline of Data Logger Functionality of
MGL-30
” manual.
After that, users may utilize the demo program to:
˙
Login the device
˙
Upload r ecor ded data
˙
Change Recor ding Mode(by time inter val or by displacement)
˙
Set passwor d
˙
Pr ogr ammable device ID
˙
Clear r ecor ded data
˙
Upgr ade fir mwar e
3.1 Getting Connected
First of all, connect
MGL-30U (MGL-30R)
to the USB/RS232 slot of your PC.
Launch demo program and use “select comport” button (first speed button) to select
the correct COM port connected. When COM port is correct selected, then press
“connect” speed button to connect
MGL-30U (MGL-30R)
. Once the device
detected, users need to enter a 4-digit password to login MGL-30U/R (see Fig. 1).
The device name(
MGL-30
) and firmware version(2.00) are shown in the message
area. After login all the other buttons will become enabled(see Fig. 2). The logged
data size and total flash memory size are shown in the message area. Sometimes
users may need to retry if the connection or password is failed.