LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check duplicacy of barcode?

Solved!
Go to solution

Any minimal code example, please?

0 Kudos
Message 11 of 16
(614 Views)
Solution
Accepted by topic author naman25

Hey,

some piece of code.

 

You could also manage your task with a queue.

See attached snippet

 

Regards,

CMW..

0 Kudos
Message 12 of 16
(603 Views)

Thanx

0 Kudos
Message 13 of 16
(597 Views)

my vi inot scanning for duplicacy please check the vi. I am using labview 2011

0 Kudos
Message 14 of 16
(571 Views)

Hey,

 

some thoughts about your vi, (what I would change):

 

- place the obtain queue and release queue outside the while loop

- don't use all the variables, if (and it is) wire the control directly

- use indicators to show on frontpnael not controls with a  property node to set the value

- case structure has wrong logic -> swap cases

- I would use an event like shown in previous post otherwise you fill the queue with "something" every 10 ms - > more information about event structure  here

- please please please do me a favor and avoid the flat sequence 🙂

 

Regards,

CMW

0 Kudos
Message 15 of 16
(542 Views)

please please please do me a favor and avoid the flat sequence 🙂


Smiley Very Happy  Nothing that bad...

0 Kudos
Message 16 of 16
(536 Views)