Singulation Configuration Tutorial

Singulation Configuration Tutorial in RFID API-3

The below features are supported in RFID API-3 as part of Singulation Configuration.

  1. Get Singulation Control.

  2. Set Singulation Control

Zebra IoT Connector allows us to set and get Singulation configuration with the parameters like session, sel, target and tagPopulation. We can set all this parameters together or only the parameters which is required.

Get Singulation Control

We can get the Singulation configuration using get_mode Rest API. Parameter values will get reported only if its non default.

Get current singulation
{
    "command": "get_mode",
    "command_id": "16266718797272556",
    "payload": {}
}

Set singulation Control

Session

To configure the antenna singulation using Operating Mode the session field under query can be used. If the same singulation is desired on all the antennas, the operating mode can be set as follows

IoT Connector Operating Mode to set the same singulation on all antennas
 {
     "type": "CUSTOM",
     "query": {
         "session": "S0"
     }
 }

To Configure different antenna singulation on each antenna, first the antennas to be used for reading tags must be specified using the antennas field and then the singulation can be specified for each selected antenna.

IoT Connector Operating Mode to set different singulation on each antenna of a 4 port reader
 {
     "type": "CUSTOM",
     "antennas": [1, 2, 3, 4],
     "query": [
         {
             "session": "S0"
         },
         {
             "session": "S1"
         },
         {
             "session": "S2"
         },
         {
             "session": "S3"
         }
     ]
 }

The above operating mode specifies that antennas 1,2,3,4 of the 4 port reader is to be used for reading tags and the corresponding singulation are to be set to s0, s1, s2, s3 respectively.

Important

The singulation is matched with the corresponding antenna in the antennas array. The length of the array for antennas must be same as the length of the array in query.

State Aware

To configure the antenna State Aware parameters using Operating Mode the sel and target fields under query can be used. If the same State Aware parameters are desired on all the antennas, the operating mode can be set as follows

IoT Connector Operating Mode to set the same State Aware parameters on all antennas
 {
     "type": "CUSTOM",
     "query": {
         "sel": "ALL",
         "target": "A"
     }
 }

To Configure different antenna State Aware parameters on each antenna, first the antennas to be used for reading tags must be specified using the antennas field and then the State Aware parameters can be specified for each selected antenna.

IoT Connector Operating Mode to set different State Aware parameters on each antenna of a 4 port reader
 {
     "type": "CUSTOM",
     "antennas": [1, 2, 3, 4],
     "query": [
         {
             "sel": "NOT_SL",
             "target": "A"
         },
         {
             "sel": "ALL",
             "target": "B"
         },
         {
             "sel": "SL",
             "target": "AB"
         },
         {
             "sel": "ALL",
             "target": "AB"
         }
     ]
 }

The above operating mode specifies that antennas 1,2,3,4 of the 4 port reader is to be used for reading tags and the corresponding State Aware parameters are to be set to NOT_SL/A, ALL/B, SL/AB, ALL/AB respectively.

Important

The State Aware parameters are matched with the corresponding antenna in the antennas array. The length of the array for antennas must be same as the length of the array in query.

Tag Population Estimate

To configure the antenna Tag population using Operating Mode the tagPopulation field under query can be used. If the same Tag Population is desired on all the antennas, the operating mode can be set as follows

IoT Connector Operating Mode to set the same Tag Population on all antennas
 {
     "type": "CUSTOM",
     "query": {
         "tagPopulation": 100
     }
 }

To Configure different antenna Tag population on each antenna, first the antennas to be used for reading tags must be specified using the antennas field and then the singulation can be specified for each selected antenna.

IoT Connector Operating Mode to set different tagPopulation on each antenna of a 4 port reader
 {
     "type": "CUSTOM",
     "antennas": [1, 2, 3, 4],
     "query": [
         {
             "tagPopulation": 50
         },
         {
             "tagPopulation": 100
         },
         {
             "tagPopulation": 150
         },
         {
             "tagPopulation": 200
         }
     ]
 }

The above operating mode specifies that antennas 1,2,3,4 of the 4 port reader is to be used for reading tags and the corresponding tagPopulation are to be set to 50, 100, 150, 200 respectively.

Important

The tagPopulation is matched with the corresponding antenna in the antennas array. The length of the array for antennas must be same as the length of the array in query.