Skip to main content
Version: v4 (Stable)

SetLocation

SetLocation(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

Sets 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 depending on the type of the parameter (Integer or String).

Returns 0 if no error, an error code in other cases.