07-02-2013 03:01 PM
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
07-03-2013 04:50 PM
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.
07-03-2013 05:05 PM - edited 07-03-2013 05:07 PM
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
07-04-2013 05:38 PM
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
07-04-2013 05:46 PM
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?
09-03-2013 04:53 AM
@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?
09-03-2013 09:33 AM
i am sorry but i didn't solve it