Click or drag to resize

CFX.Sensor.Identification Namespace

Messages for devices that are responsible to reading or scanning identification labels or tags (barcodes, RFID’s, machine vision systems, etc.).
Classes
 ClassDescription
Public classIdentifiersNotRead Sent by an identification device (barcode scanner, RFID reader, etc.) when the device attempts to read or interpret an identifier, but is unable to do so.

Example 1 (Simple, single barcode read)

{
  "PositionsNotRead": []
}

Example 2 (Camera system capable of reading all barcodes on a multi-circuit PCB panel)

{
  "PositionsNotRead": [
    2,
    8
  ]
}

Public classIdentifiersRead Sent by an identification device (barcode scanner, RFID reader, etc.) when the device has identified one or more items

Example 1 (Simple, single barcode read)

{
  "PrimaryIdentifier": "CARRIER21342",
  "Units": null
}

Example 2 (Camera system capable of reading all barcodes on a multi-circuit PCB panel)

{
  "PrimaryIdentifier": "CARRIER21342",
  "Units": [
    {
      "UnitIdentifier": "CARRIER21342",
      "PositionNumber": 1,
      "PositionName": "CIRCUIT1",
      "X": 50.45,
      "Y": 80.66,
      "Rotation": 0.0,
      "FlipX": false,
      "FlipY": false
    },
    {
      "UnitIdentifier": "CARRIER21342",
      "PositionNumber": 2,
      "PositionName": "CIRCUIT2",
      "X": 50.45,
      "Y": 80.66,
      "Rotation": 90.0,
      "FlipX": false,
      "FlipY": false
    }
  ]
}
Public classIdentifyUnitsRequest Sent by a process endpoint to a unit identification device (such as a barcode scanner or RFID reader) to request the most recently scanned unit identifiers.
Public classIdentifyUnitsResponse Response from a unit identification device (such as a barcode scanner or RFID reader) to a process endpoint which contains the most recently scanned unit identifiers.
{
  "Result": {
    "Result": "Success",
    "ResultCode": 0,
    "Message": "OK"
  },
  "PrimaryIdentifier": "CARRIER21342",
  "Units": [
    {
      "UnitIdentifier": "CARRIER5566",
      "PositionNumber": 1,
      "PositionName": "CIRCUIT1",
      "X": 50.45,
      "Y": 80.66,
      "Rotation": 0.0,
      "FlipX": false,
      "FlipY": false
    },
    {
      "UnitIdentifier": "CARRIER5566",
      "PositionNumber": 1,
      "PositionName": "CIRCUIT2",
      "X": 50.45,
      "Y": 80.66,
      "Rotation": 90.0,
      "FlipX": false,
      "FlipY": false
    }
  ]
}