Barcode Plugin with QR Code

Stefan J

Posted on 17.01.2020 15:46

Hi support team,

i tried the barcode plugin with X3SP9 64bit. The plugin recognizes the connected Datalogic 2D scanner.

How is the plugin window working? When i paste the attached QR code from clipboard (copied to clipboard within IrfanView) and use "paste from clipboard"

only "incorrect QR code" is shown. When I scan the QR code with the Datalogic scanner in MS Notepad the text "Testbed 11" is shown.

In a Dewesoft measurement a QRcode scan creates a keyboard event, but no text.

What do i have to do to scan succesful a QR Code and store the text in the measurement?

Rok Kmetič
Customer Support Engineer
Posted on 22.01.2020 16:37

Dear Stefan,


QR scanners usually have its own driver and pressing scanning code will automatically send the string to the PC. The functionality should be similar to CTRL+V action. For this, no plugin is needed and you can just paste the data where you'll find it useful. Usually, it's the data header or perhaps some field in the sequencer.


What the plugin is able to do is parse specific "commands" and insert the text directly into the data header. This was implemented specifically on a customer request and I believe no other customers are using it at the moment. The plugin is also able to use a camera as a video source and scan for codes in that way.


There are some different options for implementation. The simplest way is to use the Data Header, which is automatically displayed when you start recording data:



In this case, the user must click on the appropriate box in the form that appears and scan the code on the product, which is then written to the selected field:



After clicking "OK", this data is saved and the measurement starts.


Alternatively, use the "Form" block in Sequencer, which the sequence shows to the user before recording begins, and the whole process is the same as using a Data Header.


The third option is to use the QR Code Reader plugin to automate the process, but you need to modify the QR code to contain a specific record, or program the QR / barcode reader to pack the read value into the following format:

BEGIN:DH

INPUT_1;VALUE="to je prva vrednost"

INPUT_2;VALUE="SensorFNumber"

END:DH


the Data Header must be properly defined:



Attached below is a manual for the QR reader.

I hope that any of the above solutions come in handy, but if you have any questions I will be happy to help.


Kind regards.


Rok Kmetič


Attached files:
Dan Grace

Posted on 28.02.2023 13:14

As for the "incorrect QR code" message, it could be a problem with the QR code itself. Have you tried scanning a different QR code to see if it works? Also, make sure you're using the correct format for the QR code - sometimes there are different versions and error correction levels that can affect how the code is scanned.

Login to reply to this topic. If you don't have account yet, you can signup for free account .