Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

barcode

i read barcode using vision builder .then i migerate inspection to labview
but ican't get the code it self in the labview . how can iget it as iwant to use it in case structure as acondition

 

0 Kudos
Message 1 of 7
(5,200 Views)

Hello ayman22,

 

When you migrate your VBAI script to LabVIEW it won't automatically generate a string indicator on the front panel.  More than likely you will need to locate the IMAQ Read Barcode VI and wire the string output to your case structure.  You can locate the VI by opening context help (Ctrl + H) and hovering over the different VIs on the block diagram to show you the different inputs and outputs of the functions.  It should look something like the VI in the snippet below.

 

 

 

barcode reader.png

Regards,
Isaac S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 7
(5,183 Views)

Hi,

 

The LabVIEW code generated by Vision Builder AI is somewhat complex, and recommended to use only when you need a tight integration between the Vision code and other tasks you might be doing in LabVIEW.

I would encourage you to look at the Vision Builder AI LabVIEW API, that you can use to instrument VBAI from LabVIEW i.e. launch the Vision Builder AI engine silently, open and run an inspection, and get results and images.

 

You can find examples of this API at the following location:

C:\Program Files (x86)\National Instruments\Vision Builder AI\API Examples\LabVIEW Examples

 

Hope this helps,

 

Christophe

0 Kudos
Message 3 of 7
(5,177 Views)

lvbum42
thankyou for replay
but how can i search in the code it self . As i know help search in labview libraries not your code

 

0 Kudos
Message 4 of 7
(5,150 Views)

christoph
thank you
but i didn't get it. i know Vision Builder AI but idon't know what's Vision Builder AI LabVIEW API?

 

0 Kudos
Message 5 of 7
(5,148 Views)

@ayman22 wrote:

i read barcode using vision builder .then i migerate inspection to labview
but ican't get the code it self in the labview . how can iget it as iwant to use it in case structure as acondition

 


Have you sloved your problem? Can you share with us your sulution?

0 Kudos
Message 6 of 7
(4,921 Views)

i am sorry but i didn't solve it

0 Kudos
Message 7 of 7
(4,915 Views)