Skip to main content
Version: v4 (Stable)

GetLocation

GetLocation(TagId As Integer/String, Latitude As Double/String, Longitude As Double/String[, HorizontalAccuracy As Double/String[, Altitude As Double/String[, VerticalAccuracy As Double/String]]]) As Integer

Gets the location (in GPS coordinates) of the tag referred to by <TagId>. <TagId> can be the numeric object id of the tag or its alphanumeric identifier, according with the parameter type (Integer or String).

Returns 0 if no error, -1 if location is not defined, an error code in other cases.