当前位置: 网学 > 编程文档 > VB > 正文

vb接收GPS数据源码全

来源:Http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 12/10/16
下载{$ArticleTitle}原创论文样式
sp;num_sat = GetToken(sLine, 8, ",")  '''' xx = number of satellites in use
''''      horiz_dilute = GetToken(sLine, 9, ",")  '''' p.p = horizontal dilution of precision  0.0 to 9.9
''''          altitude = GetToken(sLine, 10, ",")  '''' a.b = Antenna altitude above mean-sea-level
''''         alt_units = GetToken(sLine, 11, ",") '''' M = units of antenna altitude, meters
''''        geo_height = GetToken(sLine, 12, ",") '''' c.d = Geoidal height
''''         geo_units = GetToken(sLine, 13, ",") '''' M = units of geoidal height, meters
''''               age = GetToken(sLine, 14, ",") '''' x.x = Age of Differential GPS data (seconds since last valid RTCM transmission)
''''      diff_station = GetToken(sLine, 15, ",") '''' nnnn = Differential reference station ID, 0000 to 1023}
   
      lat_deg = nmeadegrees2decimal(lat_deg_nmea, lat_dir)
      lon_deg = nmeadegrees2decimal(lon_deg_nmea, lon_dir)
      
      Dim val As String
      If lat_deg <> 0 And lon_deg <> 0 Then
         If lat_deg <> last_lat Or lon_deg <> last_lon Then
            '''' 1,33.699424000,-117.858616,90,10,####,####,####
            line_num = line_num + 1
            If mark_cone = True Then
               val = "cone"
               mark_cone = False
            Else
               val = "####"
            End If
            val = line_num & "," & lat_deg & "," & lon_deg & ",10,10," & val & ",####,####"
            txtRDDFHistory.Text = Mid(val & vbNewLine & txtRDDFHistory.Text, 1, 1000)
            If save_on = True Then
      
  • 下一篇资讯: 在vb中实现鼠标手势
  • 网学推荐

    免费论文

    原创论文

    浏览:
    设为首页 | 加入收藏 | 论文首页 | 论文专题 | 设计下载 | 网学软件 | 论文模板 | 论文资源 | 程序设计 | 关于网学 | 站内搜索 | 网学留言 | 友情链接 | 资料中心
    版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
    Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved
    湘ICP备09003080号