• 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

Reader Statistics

The method rm.GetReaderStatistics can be used for getting the reader statistics for each antenna. The method rm.ClearReaderStatistics can be used to clear the Reader Statistics.The Reader statistics object returned also contains statistics for NXP, Impinj and Fujitsu custom operations which are classified as NXPStats, ImpinjStats and FujitsuStats.

try

{

    ushort antennaID = 1;

    Console.WriteLine("Reader Statistics for AntennaID " + antennaID);

    // Get Reader Statistics            

    ReaderStatistics stats = rm.GetReaderStatistics(antennaID);

    LogMessage(" Identified Success Count       : " + stats.IdentifiedSuccessCount);

    LogMessage(" Identified Failure Count       : " + stats.IdentifiedFailureCount);

    LogMessage(" Read Success Count             : " + stats.ReadSuccessCount);

    LogMessage(" Read Failure Count             : " + stats.ReadFailureCount);

    LogMessage(" Write Success Count            : " + stats.WriteSuccessCount);

    LogMessage(" Write Failure Count            : " + stats.WriteFailureCount);

    LogMessage(" Kill Success Count             : " + stats.KillSuccessCount);

    LogMessage(" Kill Failure Count             : " + stats.KillFailureCount);

    LogMessage(" Lock Success Count             : " + stats.LockSuccessCount);

    LogMessage(" Lock Failure Count             : " + stats.LockFailureCount);

    // Clear Reader Statistics            

    rm.ClearReaderStatistics();

}

catch (OperationFailureException exception)

{

    Console.WriteLine("testReaderStats: GetStats failed " + exception.Message);

}
Back to top