ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I generate a QR code in labview

Hi

I need an LV application to generate graphics of QR based on an input text.

Do you have any sample code to do it

0 Kudos
Message 1 of 10
(12,898 Views)

Thank you for that sample code.

 

Regards

0 Kudos
Message 3 of 10
(12,851 Views)

Here is some ancient code I wrote since I prefer G to C.

 

QR_FP.png

Message 4 of 10
(12,849 Views)

Both,

Darin's QR Generator.llb ‏453 KB

and

ongeelim's QR Code Generator 2012 NIVerified.llb ‏576 KB

 

are well written, plain LabView QR-Code generators.

 

Darin's Blockdiagram is easier to understand,

while ongeelim's version has more features "out of the box":

 

 

Download All
0 Kudos
Message 5 of 10
(12,755 Views)

Hi alexderjuengere

 

I use both QR generators but they cannot read in LabVIEW. I attached the reader vis they give me Error.jpg error. The error title "Error -1074395318 occurred at IMAQ Overlay Lines".When I generate QR code from an online generator reader vis are work. When I use a cell phone QR reader application, the application reads all of them.

How can I fix it? can you help me?

Sorry for my English.

   

0 Kudos
Message 6 of 10
(11,708 Views)

I found out the right setting for the generator. I am sharing the generator and the reader is working for me.
I think my fault is data mode I chose alphanumeric in generation vi. When I chose Data mode Binary, reader vi started work.

Osmankoc_0-1602673147470.png

 

Download All
Message 7 of 10
(11,671 Views)

Hello,

 

thank you all for this amazing Code Generator.

I need to write a multi line string to be converted to a QR Code.

If I use this example, all of my line feeds are deleted and the strings are connected in one line.

Is there a chance to get these line feeds into the generated QR code?

0 Kudos
Message 8 of 10
(4,506 Views)

@Darin.K wrote:

Here is some ancient code I wrote since I prefer G to C.

 

 


In "EncodeStrings.vi", I see this:

paul_a_cardinale_0-1725637149657.png

Is that "1" constant supposed to be wired to something?

0 Kudos
Message 9 of 10
(4,445 Views)

@Darin.K wrote:

Here is some ancient code I wrote since I prefer G to C.

 

QR_FP.png


I've done some updating/cleanup.

Message 10 of 10
(4,416 Views)