Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

QR code scanner

  • Last UpdatedJun 26, 2024
  • 2 minute read

The QRCode_Scanner widget connects to a camera to scan for a QR code and returns the resulting string.

Properties

Property Name

Description

Default Value

QRCode

The resulting string of the scanned QR code. The default value is empty.

Empty

AutoStart

If set to true, the camera will start automatically.

True

AutoStop

If set to true, the camera will stop after scanning a QR Code.

True

Start

If set to true, the camera will start.

False

Stop

If set to true, the camera will stop.

False

BackgroundColor

Sets the background color of the widget. Specify the color value in RGB, HTML Code (#FF0000) or valid HTML color name.

Black

Limitation

  • The device must have a camera.

  • Using the QR Code on a physical machine instead of a virtual machine is recommended.

  • Access the web client using the secure URL (https://) when using the web client remotely.

Usage

You can configure a script to read the QR code and display a graphic based on the scanned value.

In RunTime, the QR Code Scanner widget will appear with a floating toolbar with the following buttons - AutoStart, AutoStop and StartStop.

When the widget is loaded, the camera will start automatically if AutoStart is set to True. To leave the camera on, select AutoStop.

To manually start the camera, select StartStop and scan the QR Code.

The camera will stay on after you scan the QR code, allowing the user to scan additional QR codes. To stop the camera, select StartStop.

The floating toolbar will display the QRCode derived from the QR Code scanned by the camera.

The user can script an action based on the QRCode returned.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in