Tuesday, November 10, 2009

GPS active x control VB


















This active x is gpsnmea.ocx. i have tried this active x using u-blox gps receiver and in two different computer, and all running well.

In this active x, consist of two toolbox components. the first is GPS1, and the second is SatPos. GPS1 toolbox is the main control in gpsnmea.ocx, and if we use satpos toolbox, the gps1 must be use too.

This is the properties of GPS1 and SatPos toolbox



Function inside GPS1 toolbox

  • GPS1.BaudRate - Setting the Baudrate value that will use in seria lcommunication with the gps receiver.
  • GPS1.Connections - set value true to get connection with the gps receiver, and will set true as a return. Set False to disconnect the gps receiver, and will set false as a return.
  • GPS1.Get_Altitude - get the altitude data from gps receiver. the altitude is in meter.
  • GPS1.Get_Azimuth(satID) - get the azimuth information of every Sattelite tracked. satID is ID number of the sattelite.
  • GPS1.Get_CourseOverGround(index) - get the course over ground from gps receiver. index 0 to get true degree, and index 1 to get Magnetic Heading.
  • GPS1.Get_DateTime(index) - index 1 to get Date from gps, dan 0 to get time(UTC) from gps.
  • GPS1.Get_Dilution(index) - index 0 to get PDOP, 1 for HDOP, and 2 for VDOP.
  • GPS1.Get_ElevationSattelite(satID) - get the Elevation degree information of every sattelite tracked. satID is ID number of the sattelite.
  • GPS1.Get_GeoidalSeparatoion - get Geoid Seperation data in meter.
  • GPS1.Get_GPSMode - get GPS mode.
  • GPS1.Get_GPSQuality - 0 - not fix, 1 - GPS fix, 2 - DGPS fix.
  • GPS1.Get_Latitude
  • GPS1.Get_Longitude
  • GPS1.Get_MagneticVariation
  • GPS1.Get_SatteliteID(index) - index from 0 to GPS1.Get_SatteliteView-1
  • GPS1.Get_SatteliteView
  • GPS1.Get_SignalSat - get the Signal Sattelite Attenuation of every sattelite.
  • GPS1.Get_SpeedOverGround(index) - index 0 is in knot, and index 1 is in meter.
for the satpos toolbox, there are no function created. sattelite position data from gps1 will automatic display in satpos toolbox.

this is the sample of the active x
if you want to try this active x, you can download from gpsnmea.ocx
and for the sample application here.

don't forget to give your advices, critics, and comments after using this active x.

No comments:

Post a Comment