LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

BAR Code QR Code Problem

Solved!
Go to solution
Solution
Accepted by alialiali

Hi zah,

 

something like this:

Beispiel_VI_BD.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 30
(1,734 Views)

yeah i understand what u mean

but when i try to do the same u r saying

i am getting error

 

like the snapshot 1 is the scanning of barcode.

in the true case, i remove the default wire

n then in the false case i am trying to do like u show me

 

i am getting an error with that

 

there is 3 unwired wire in this vi seen at snapshot 1.. 2 pink n 1 green

Download All
0 Kudos
Message 12 of 30
(1,722 Views)

this one is the higlighted undefault wire

0 Kudos
Message 13 of 30
(1,718 Views)

Hi zah,

 

until now you always wanted to save those "String barcode" data in your file.

Why don't you wire the string as shown above?

Why do you now bring that "Image ROI" wire into play?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 30
(1,712 Views)

Dear Sir

 

Thank you very much for the help.

Mr Qasim successfully did what you told us

 

 

now there is only a small issue where we are getting it repeatedly. I will attach the

snapshot along

 

Hope to hear from you soon

0 Kudos
Message 15 of 30
(1,684 Views)

Dear Sir

 

Thank you very much for the help.

Mr Qasim successfully did what you told us

 

 

now there is only a small issue where we are getting it repeatedly. I will attach the

snapshot along

 

Hope to hear from you soon

Download All
0 Kudos
Message 16 of 30
(1,686 Views)

Hi to all of you,

 

now you need to apply a condition, before you write new data to the file.

I would guess you only need to write data to the file, when both barcodes are read successfully…

 

How big is xyour group? Now there are 3 different nicknames discussing the same homework…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 30
(1,666 Views)

Dear Gerd,

First of all, thanks alot for your help. Yes, you are right that we need to apply some condition. But I dont know how to apply the condition. We are only two in this group. We will be really thankful to you in this regard.

 

BR,

Qasim

0 Kudos
Message 18 of 30
(1,659 Views)

Hi ali,

 

two people with 3 nicks… 😄

 

Well, somethink like this pseudocode might work:

IF new QR code AND new barcode THEN warite new line

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 30
(1,655 Views)

Hello sir

 

actually we are only two in the group.

 

when i open this page using mozilla firefox, the id is zah12

when i open with goggle chrome, i became zahkay

i dunno what is the issue

 

but what do u mean by the pseudocode

how the condition should be

since it is in labview. it should be in block diagram yeah..

pseudocode is not c coding

 

correct me if i am wrong.

 

hope to hear from u soon

rgrds

0 Kudos
Message 20 of 30
(1,640 Views)