Skip to main content

Barcode scanner

INTEGRATE WITH BARCODE SCANNERS


Each Shop floor viewer client that is set in "Execution mode" listens to messages of a specific topic sent on the global AVIX message bus.

The topic structure is as follows:

cmd/<workspaceid>/<lineNumber>/<workstationNumber>/open_sos

or if a resource work instruction is chosen

cmd/<workspaceid>/<lineNumber>/<workstationNumber>/<workresourceNumber>/open_sos

workspaceId

The id of the workspace the is opened on the workstation. If an id is not configured in the load_storage.xml file, a random unique Id is chosen when a storage is opened.

To resolve the correct the workspaceId a function can be invoked:

${workspace.findFirstByStorage('*industrialMetals*')

This will resolved to the workspaceId that the AVIX file (storage) that contains the string "industrialMetals" in the name.

workstationNumber

The number of the workstation

workresourceNumber

The number of the work resource


The format that expected message:







There are multiple ways of posting a message to the AVIX message bus

JSON-RPC

There is a web service available to publish messages on the AVIX message bus

http://<server>:<port>/services/jsonrpc/eventBusServices

the method name is publishMessage

Example in curl to post a message to the AVIX message bus








Configured Apache camel route

AVIX hosts an internal apache camel infrastructure that enable you to configure routes from many other systems and protocols

Examples are:

  • MQTT
  • Watch folder on disk
  • JMS

A AVIX 5 client is needed to set up apache camel routes