
BETA903A USER MANUAL
- 87 -
int tmp_int[3];
double tmp_double;
m_pGPSTranslator->GetRMCData(&data_RMC);
m_strDate.Format(_T("20%c%c-%c%c-%c%c"),data_RMC.cUTCDate[4], data_RMC.cUTCDate[5],
data_RMC.cUTCDate[2], data_RMC.cUTCDate[3], data_RMC.cUTCDate[0], data_RMC.cUTCDate[1]);
m_strTime.Format(_T("%c%c:%c%c:%c%c"),data_RMC.cUTCTime[0], data_RMC.cUTCTime[1],
data_RMC.cUTCTime[2], data_RMC.cUTCTime[3], data_RMC.cUTCTime[4], data_RMC.cUTCTime[5]);
if (data_RMC.cLatitudeNS == 0)
{ // Not fixed, initial all fields
m_strAcquire = _T("No Fix");
m_strLongitude.Format(_T("%c %dd %d' %.1f''"), ' ', 0, 0, 0.0);
m_strLatitude.Format(_T("%c %dd %d' %.1f''"), ' ', 0, 0, 0.0);
m_strAltitude.Format(_T("%.1f"), 0.0);
m_strSpeed.Format(_T("%.1f"), 0.0);
m_strPDOP.Format(_T("%d"), 0);
m_strHDOP.Format(_T("%d"), 0);
m_strVDOP.Format(_T("%d"), 0);
}
else
{
t mp_int[0] = (int)data_RMC.dLatitude/100;
tmp_int[1] = (int)data_RMC.dLatitude-tmp_int[0]*100;
tmp_double = (data_RMC.dLatitude-tmp_int[0]*100-tmp_int[1])*60;
m_strLatitude.Format(_T("%c %dd %d' %.1f''"), data_RMC.cLatitudeNS, tmp_int[0], tmp_int[1],
tmp_double);
tmp_int[0] = (int)data_RMC.dLongitude/100;
tmp_int[1] = (int)data_RMC.dLongitude-tmp_int[0]*100;
tmp_double = (data_RMC.dLongitude-tmp_int[0]*100-tmp_int[1])*60;
m_strLongitude.Format(_T("%c %dd %d' %.1f''"), data_RMC.cLongitudeEW, tmp_int[0], tmp_int[1],
tmp_double);
m_pGPSTranslator->GetGSAData(&data_GSA);
Get current RMC data
Get current GSA data
if (data_GSA.iModeValue == 2)
m_strAcquire = _T("2D");
else if (data_GSA.iModeValue == 3)
m_strAcquire = _T("3D");
else
Содержание BETA903A
Страница 2: ...BETA903A USER MANUAL 2 History of Version Version Contents Date Note 01 New Version 2010 03 27 SPEC ...
Страница 18: ...BETA903A USER MANUAL 18 1 3 1 3 1 Mechanical specifications Mechanical specifications of module ...
Страница 19: ...BETA903A USER MANUAL 19 1 3 2 Mechanical specifications of Holder Mount ...
Страница 22: ...BETA903A USER MANUAL 22 2 2 Install a GSM antenna Please screw up the antenna into the position as highlighted ...
Страница 49: ...BETA903A USER MANUAL 49 STEP2 Select Windows folder STEP3 Run KeyPadTest program ...
Страница 55: ...BETA903A USER MANUAL 55 5 Select No and click Next button to cancel the synchronization ...
Страница 60: ...BETA903A USER MANUAL 60 STEP 5 Click Next button STEP 6 Click Next button ...
Страница 94: ...BETA903A USER MANUAL 94 STEP 3 Add process code into message processing function ...
Страница 95: ...BETA903A USER MANUAL 95 End of BETA903A User Manual ...