• Api Documentation
  • Programmer's Guide
Show / Hide Table of Contents
  • Introduction
  • Generic Reader Interface
    • Connecting to Reader
    • Knowing the Reader Capabilities
    • Configuring the Reader
    • Managing Events
    • Managing Tags
    • Basic Operations
    • Advanced Operations
    • Tag Locationing
    • NXP Commands
    • Impinj Commands
    • Disconnecting from the Reader
  • Reader Management Interface
    • Connecting to the Reader
    • Updating Firmware of the Software
    • Read Points
    • Antenna Modes
    • Reader and System Information
    • Managing Reader Configurations
    • Managing LLRP connection and configuration
    • USB Operation Mode
    • GPI Debounce Time
    • Local Time
    • Time Zone
    • User LED
    • Reader Statistics
    • Restarting the Reader
    • Disconnecting the Reader
    • Cable Loss Compensation
    • Idle Mode
    • Power Negotiation
    • Region configuration
    • User App Deployment
    • User Management

Tag Locationing

Readers which support Tag Locationing feature report the same in the field IsTagLocationingSupported of ReaderCaps as true. This feature is supported only on Handheld readers and is useful to locate a specific tag in the field of view of the reader’s antenna. The default locationing algorithm supported on the reader can perform locationing only on a single antenna. rfidApi.Actions.TagLocationing.Perform can be used to start locating a tag, and rfidApi.Actions.TagLocationing.Stop to stop the locationing operation. Result of locationing of a tag is reported as LocationInfo in TagData and will be present in TagData if tagData.ContainsLocationInfo is true. tagData.LocationInfo.RelativeDistance gives the relative distance of the Tag from the Reader Antenna.

try

 {

  rfidApi.Actions.TagLocationing.Perform(tagInField,antennaInfo);

      Thread.Sleep(1000);

      rfidApi.Actions.TagLocationing.Stop();

      TagData[] tagData = rfidApi.Actions.GetReadTags(1000);

      if (tagData != null)

      {

        for (int nIndex1 = 0; nIndex1 < tagData.Length; nIndex1++)

        {

if(tagData[nIndex1].ContainsLocationInfo)

            {

Console.WriteLine(“Relative Distance:”+ tagData[nindex1].LocationInfo.RelativeDistance.ToString());

            }

        }

      }

}

catch (OperationFailureException ofe)

{

       Console.WriteLine(ofe.ToString())

}         
Back to top