AutoVScroll  BackColor

Chapter 3: Property Descriptions and Usage

Azimuth

Applies to

GPSSatellitePosition objects

Description

The Azimuth property indicates the position of the satellite relative to true north in degrees. The range of values is 0 to 359.

Usage


In scripts

The Azimuth property takes an integer value. This example writes the azimuth, elevation, signal strength, and PRN properties to a multiline edit box:

integer li_aAzimuth, li_elevation, li_SNR, li_PRN
GPSSatellitePosition myGPS_SP

...
li_azimuth = myGPS_SP.Azimuth
li_elevation = myGPS_SP.Elevation
li_SNR = myGPS_SP.SNR
li_PRN = myGPS_SP.PRN
mle_1 = "Azimuth: " + String(li_azimuth) + "~r~n"
mle_1 += "Elevation: " + String(li_elevation) + "~r~n"
mle_1 += "Signal strength: " + String(li_SNR) + "~r~n"
mle_1 += "PRN: " + String(li_PRN)





Copyright © 2004. Sybase Inc. All rights reserved. BackColor

View this book as PDF