To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Generation of custom QR codes based on the QR Code API.
Description
Using the power of Google Chart API's, the QR Code API is a superb way to take data from LabVIEW and return the QR code, again this could be greater increased by using DataSockets or ActiveX to automatically show the QR code but for the purposes of demonstration this merely returns the URL, a quick check with Google Goggles will show you if your QR code contains the data you wished to store within it. This code consists on inserting a random number into an array depending on what the user chooses. Within the options the user has, we can select either to insert a value at the beginning, the end or at any specific index.
Requirements
LabVIEW 2012 or compatible
Steps to Implement or Execute Code
1. Specify the Data to encode
2. Configure the Size, Format type, and Error Correction Format
3. Run the VI
4. Use a proper tool to read the QR code and validate the data
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
I added a new version that uses the Open URL in deafult browser function to display the image.
Hi,
Is there any evaluation package I can run the above QR Code generator?
Thanks for your time!
Thank you Hueter! One more thing, how can i give a print command instead of opening it in a URL? I want to run it with a call from another VI, most likely using a while loop (depending on a condition met in another VI).
Hi,
Is there a way to generate a distinguished qr code image. Like if the google API can add a red line/cross mark/any alphabet/number to the code or any other mark to distinguish the qr code from other normal generated qr code.
Thank you!
Dave
Good, but I believe according to Googles Terms of Service, Not allowed. If I remember the terms of service correctly from the last time I was looking at something like this, you are not allowed to access Google services in an automated manner - which is exactly what this does!!
Thanks.
It is very cool.
How do i generat QR in different font and colour?