Manual configuration, Vega reader example – ThingMagic Mercury API v1.23.0 User Manual
Page 58
Antenna Usage
58
Level 2 API
example, if the reader is identified as a Vega, the settings define in
which previously had to be manually configured will be automatically set.
Manual Configuration
The
portSwitchGpos parameter defines which GPOutput lines will be used for antenna
switching and, consequently how many ports are supported.
The
txRxMap parameter defines the mapping of virtual port numbers to physical TX and
RX ports. Once configured the virtual antenna number for each antenna configuration
setting will be used in place of the physical port number in API calls, such as in
The map between virtual antenna numbers and physical antenna ports specified in
will be used to filter the detected antennas - antenna ports that
are detected but have no corresponding virtual antenna in the map will not be used. The
map will also be used to translate from specified antenna numbers to antenna ports.
Vega Reader Example
In order to map the virtual port numbers to correspond to the antenna port
labels on the Vega reader you must set the
portSwitchGpos to use one
GPOutput line to control the 1 to 2 multiplexer used by Vega (as noted in
the Vega User Guide) and setup the
txRxmap:
r.paramSet("/reader/antenna/portSwitchGpos", new int[]{1});
r.paramSet("/reader/antenna/txRxMap", new int[][]{new
int[]{1,2,2}, new int[]{2,5,5}, new int[]{3,1,1}});