Advanced tag operations, Tagop invocation, Direct invocation – ThingMagic Mercury API v1.23.0 User Manual

Page 42: Direct invocation 42, Advanced, Tag operations

Advertising
background image

Advanced Tag Operations

42

Level 2 API

Advanced Tag Operations

Note

These new TagOp data structures replace the older individual

Advanced Tag

Operations [Deprecated]

and

Level 3 API

.

TagOp Invocation

A

TagOp is a data structure which encapsulates all the arguments of a particular,

protocol-specific command. The following groups of TagOps are supported:



Gen2 Standard TagOps



Gen2 Optional TagOps



Gen2 Tag Specific TagOps - Alien Higgs



Gen2 Tag Specific TagOps - NXP G2*



Gen2 Tag Specific TagOps - Impinj Monza4



ISO18000-6B TagOps

Using

TagOp provides a scalable architecture for extending supported tag operations

than an ever-increasing number of individual API methods.

TagOps have the added

benefit of being embeddable in larger structures; e.g.,

SimpleReadPlan

with a

TagOp

allowing for operations to be automatically performed on every tag found during an

Advanced Reading

operation.

Specific tagop structures depend on the structure of the protocol commands. See the

Language Specific Reference Guides

TagOp subclasses for detailed information.

Direct Invocation

The

Reader.ExecuteTagOp() method provides direct execution of TagOp commands.

Using ExecuteTagOp() results in the following behavior:



The reader operates on the first tag found, with applicable tag filtering as specified by

the

TagFilter Interface

object passed in ExecuteTagOp().



The command will be attempt for the timeout value specified in the

/reader/

commandTimeout

.



The reader stops and the call returns immediately after finding one tag and operating

on it, unless the timeout expires first.



The operation is performed on the antenna specified in

/reader/tagop/antenna

Advertising