VBAI vs LabView/Vision?

I am designing a machine vision system that will use 16 GigE cameras, run on a dedicated PC, and will use standard edge and blob tools to perform a fairly routine set of inspection tasks.  I will not need to code any new special-purpose image algorithms.
Because of the large number of cameras, I am interested in using parallel processes/threads as much as possible.
Also, I need to trigger inspections via Ethernet/IP from a Allen Bradley/Rockwell PLC.
Would there be any obvious advantages to using the Labview Vision Development Module rather than VBAI?

Here are some things to consider (in addition to what Christophe said).
1. You had asked about 32 vs. 64 bit OS..even if you're running a 32-bit application, I would always recommend a 64-bit OS. This allows multiple 32-bit applications to each have up to ~4GB of memory, and if you're talking about 16 instances of VBAI running, they can each get up to this limit instead of on a 32-bit OS being limited to the total memory available being 4GB shared between all applications.
2. Because VBAI only allows 1 instance to run the Ethernet/IP Server, you could use LabVIEW to do the communication over Ethernet/IP and manage triggering/acquiring images in parallel and then use the VBAI API to send the images to the VBAI engines with a set image variable call so the VBAI only has to process the image and send the results back to your LV program. I really liked Christophe's idea of using a network trigger that the PLC controls, but I don't know if your cameras support network triggers or if your PLC would support sending a action command to trigger them...maybe the PLC can just trigger them directly with I/O lines...I assume this isn't an option since you're wanting to use Ethernet/IP to tell another application when to trigger them.
3. If all your inspections are exactly the same (except for which camera they use), VBAI unfortunately has a restriction that only one engine can open an inspection at a time, so you'd have to make 16 copies of the same inspection and have each VBAI instance load a unique copy of the same inspection.
4. If this is the case (all your processing is the same), and the inspection is straight forward, I think using LabVIEW to run everything in parallel with a rentrant VI that does the acquisition and vision algorithm might be the simpliest and fastest approach, but it might take longer to develop the code.
Hope this helps give you some more ideas, and let us know if you have more follow-up questions.
Brad

Similar Messages

  • Migrated from VBAI to labview 8.2.

    I’m fairly new at these vision programs and need some advise.  I have migrated from VBAI to LabView 8.2.  However I can’t seem to get the LV program to work like VBAI program works.  The LV program gets stuck in a loop processing the same photo rather than the entire folder of 25.  The other problems are: It will not show the photo; it will fail all photos, and will not log results.
    I am running the LV 8.2, Vision Acquisition 8.2, and VBAI 3.0

    Hi Davis,
    I'm not experienced in VBAI and IMAQ, but in your code I couldn't find any function to load your JPG photos...
    There's only an 'IMAQ Create' in the initialize-sequence, which generates an empty image. So it seems you have to attach your own code here ;-)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Count pixels labview vision 2013

    hi
    i want to determined percentage of pixels in a region, like function count pixcels in NI Vision Builder AI but in labview vision 2013 

    Brad, thanks for the response. I don't have access to the code anymore, I was more just curious about it. One of my old coworkers has actualy been in contact with me recently because he's the one who inherited my code. I had to walk him through how I implemented the VBAI code in to the main application because he couldn't just change a few setting inputs. It was more of just a inconvenience.
    I guess my suggestion for the future would be for an option to output the VBAI code as LabVIEW code without all of the subVI hierarchy for those who are used to just using the IMAQ VIs. Just a linear set of code that goes from the start to fnish of the VBAI diagram that I could manipulate the way I want would be nice.

  • Labview Vision Assistant Histogramm Problem

    Good Morning,
    i sadly with the Vision Package from Labview. I want to load a picture and interpretation a detail of the picture with black, white and grayvalve. This can i make with the Vision Assistant feature Histogramm. When i build it (the VI with Vision Assistant) comes nothing to the output Histogramm. I have checked the output line Histogramm, but nothing goes out of this.What are my failure?
    Thanks a Lot
    german translation:
    Hallo zusammen,
    ich bin leider noch nicht richtig mit dem Vision Paket vertraut. Ich möchte die Schwarz, Weiß und Grauwerte eines Bildausschnittes auslesen und diese auswerten können. Dank des Vision Assistant, kann ich dies per Mausklicks erzeugen, jedoch erhalte ich am Ende des Vis keine Daten. Selbst wenn ich die Quelle verbinde und ein Anzeigeelement hinzufüge, kommt hinten nichts raus. Was ist mein Fehler?
    Vielen Dank
    -motecpam
    Labview Vision 2011 Servicepack 1
    with Vision Development Modul
    Attachments:
    Screenshot_VI.jpg ‏230 KB
    Screenshot_Vision_Assistant.jpg ‏313 KB

    Hallo Tropper,
    vielen Dank erstmal für die Antwort.
    Leider erhalte ich dennoch keine Ausgabe am Histogramm.
    Das Histogramm wird mir leer angezeigt.
    Ich habe es so erstellt, wie von dir gezeigt.
    Attachments:
    Unbenannt.jpg ‏117 KB

  • Does labview vision support GigE Vision cameras using H264 compressio​n?

    Does labview vision support GigE Vision cameras using H264 compression?
    I'd like to use a GigE Vision compliant camera that encodes its video data using H.264 compression. Can Imaqdx read this stream, decode the H264 compressed frames and write the frames into an imaq image?
    global variables make robots angry

    I have no info whatsoever on your question, but welcome back from your hiatus!
    Spoiler (Highlight to read)
    Actually I know the answer but it is simply more fun sitting back and watching you figure it out yourself. 
    Actually I know the answer but it is simply more fun sitting back and watching you figure it out yourself. 

  • Labview VISION + webcam + find pattern

    Hi all,
    I'm making a job with pattern recognition. Unfortunately, I'm doing a first steps and don't understand everything.
    I found a video regarding of this question > http://www.youtube.com/watch?v=trgCbKZXyUE - it's what I want to build and extend it then.
    The diagram is finished as on the video, but I cannot catch and follow the necessary pattern. It's showing all the current image instead of requested object.
    I think it's not a big issue to find out the problem, but I don't have enough skills to locate it.
    So, please, if you can, correct the diagram, which you can find in attachment and then I can go on with my goal.
    Thank you in advance.
    Regards,
    Michael
    Attachments:
    Object Detecting and Tracking.vi ‏93 KB

    Hi Michael,
    habe you seen that link if you expand the Youtube comment which starts with something Spanish?: "En este ..."
    Community: LabVIEW VISION - Busqueda de Patrones - National Instruments
    https://decibel.ni.com/content/docs/DOC-31880
    Can you make it work if you follow the detailed screenshots shown on the NI community page?
    Best regards,
    Chris

  • Labview vision - while loop + image + shiftregister = 2 times same image.

    Well I got this problem here at home. 
    I've this .vi 
    I've labview 8.6 + labview vision module + labview vision module for usb webcams.
    Well this .vi is pretty simple but it gives me some strange results...
    When I run this I get the same image on "image1" and "image2"... while in fact "image2" should be the "image1" of the last loop. This should be visible when you set the sleep time of the loop higher. Now the problem is is that on my frontpanel "image1" and "image2" are ALWAYS equal... But then when I click on the two wires of "image2" and "image1" then the difference is visible. But on the frontpanel "image1" equals "image2"...
    A couple of weeks ago when I first was testing with labview + vision on my university there was a visible difference between the two images. This was with the same webcam and software.  
    Anyone got an idea how this is possible? 

    Wetzer wrote:
    You can think of the purple "Image" Wire as a Pointer to the Buffer containing the actual Image data.
    That's what I thought too, but why would it behave differently during execution highlighting? (sorry, I don't have IMAQ, just curious )
    LabVIEW Champion . Do more with less code and in less time .

  • How can I determine the liquid level in a bottle (LabView Vision)?

    How can I determine the liquid level in a bottle (LabView Vision)? Does anybody have an example code? The task is, that if liqid level is between two predetermined level, the program writes, that it is correct else it writes incorrect. Thank you.

    here is a little play with your bad picture:
    used only the small field of interest (here a guess) ,
    used only the red channel ( takes out most of the light reflection)
    grey scale, 3x(blurr, median filter) , played with  contrast -gamma - saturation
    now you need to add the edge detection and some sort of scale.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Count number pixcel labview vision 2013

    hi gays 
    i need your help i want to count number of pixel with template in labview vison 2013 
    thanks 
    Solved!
    Go to Solution.

    Try the VI IMAQ Count Objects 2 in the Vision And Motion>Machine Vision>Count and Measure Objects palette.
    If that does not do exactly what you want, you can still choose to migrate the VBAI inspection to LabVIEW (Tools>>Migrate Inspection to LabVIEW from VBAI) and look at the code generated. It will produce exactly the same results as in VBAI. The only thing is that the code generated is complex.
    Hope this helps.
    Christophe

  • Connecting converted tool from VBAI to LabView

    Hey all,
    I'm really trying to connect to VI's together, one being a converted tool from VBAI and the other one, just a normal Labview coding.
    The two VI's are attached with this message. Could anyone help me connect them together?
    Kind regards
    Xavier
    Attachments:
    GetImageExample.vi ‏31 KB
    Craig's tool.vi ‏75 KB

    Dear Nathan
    I know I didn.t give much precision on that, but that's because I'm not so confortable with LabView, but I'll try and do my best.
    So to start with, I am using a thermal camera provide by a company called LAND. LAND has developed a few SubVI so that the thermal camera can be used on LabView. This is represented by attachment 1.
    Then, a few weeks ago, just for a trial, I have tried converting a tool from Vision Builder for Automated Inspection to LabView (no problems). After a little while, I manage to connect the new tool converted from Vision Builder (useless tool but just for trial; attachment 2) to the main SubVI, and data was coming out of all this (everything up until there was fine).
    Then the next thing was to create the tool I wanted to use on Vision Builder, which didn't take long and I converted it to Labview. But finally, when it came to connecting the main SubVI (attachment 1) to the usefull tool from VBAI I wanted to use (attachment 3), I couldn't manage to find my way.
    So this is what I am trying to do, that's to say, being able to use the tool developped in VBAI (attachment 3) to analyse the image I get from the main SubVI (attachment1) and get some data.
    Any kind of help would be highly appreciated.
    Thanks in advance
    Xavier
    Attachments:
    Main SubVI.vi ‏32 KB
    Main SubVI to first converted VBAI tool.vi ‏113 KB
    Find Objects with ROI.vi ‏54 KB

  • 64-Bit Labview Vision Acquisition

    I am currently in the process of upgrading from LabVIEW 7.1 to LabVIEW 2011. I have been able to get everything working with LabVIEW 2011 (32-Bit). I have installed the Vision Acquisition and all works well with LabVIEW 2011 (32-Bit). When I try to use the LabVIEW 2011 (64-Bit) I no longer have the Sub Vis that are in the Vision and Motion Pallet. I was wondering if the LabVIEW 2011 (64-bit) needs an additional download in order to allow my Vision Acquisition toolbox to work.
    Thanks,
    FChiragh

    Go to:
    START > Control Panel > Programs & Features
    Then double-click on "National Instruments Software" and remove everything related to Vision and IMAQ.
    Then reboot your PC.  And then reinstall it.
    When you reinstall it, make sure the installer indicates that the software will be installed to "C:\Program Files\..." and not "C:\Program Files(x86)\..."

  • LabVIEW vision module w/ usb camera

    I've got LabVIEW 2009 and the Vision Assistant 8.6 and am trying to coordinate them with a usb camera for motion tracking. Eventually I want to be able to track motion at several locations on a glass plate, but currently I'm having difficulty understanding how the Vision Assistant and LabVIEW are supposed to interact. I can take input with Vision Assistant and see from the camera, but I can't perform any of Vision Assistant's functions on the image. Also, I don't think I have a LabVIEW VI for initializing up a USB camera to use with the IMAQ functions. How should I do this?
    Using LabVIEW 2009 on Windows Vista

    Hi dlg,
    There are some great examples in the NI Example Finder (in LabVIEW go to Help >> Find Examples...) that are simple enough to start with.  The basic concept you need to understand the HL Snap.vior HL Grab.vi examples is that you "open, do-something, close".  The more complicated your code, the more extensive the "do-something" is.  However, the same process applies.  The other thing that is important to know is that the Create IMAQ.vi creates a buffer in which to store the image temporarily from the camera.  You then pass a reference to this buffer (the purple wire at the top of the subVIs) to process the image in a later step, if desired, or display the image on the front panel.   
     I hope this helps!
    Kristen H.

  • LabVIEW Vision Assistant的图像处理,NI视觉助手教程免费阅读

     附件里面比较全,因为发不了那么多字
    http://shixinhua.com/  石鑫华主页
    http://shixinhua.com/imganalyse/2013/09/762.html  全文网站
    《基于Vision Assistant的图像处理是实用教程》
    第二章 界面与菜单       67
    第一节 启动欢迎界面  67
    http://shixinhua.com/imganalyse/2013/01/278.html
    第二节 功能界面  73
    http://shixinhua.com/imganalyse/2013/01/280.html
    Acquire Images采集图像界面       73
    Browse Images浏览图像界面       77
    Process Images处理图像界面       79
    第三节 File文件菜单    86
    http://shixinhua.com/imganalyse/2013/01/283.html
    Open Image:打开图像          86
    Open AVI File:打开AVI文件         87
    Save Image:保存图像  87
    New Script:新建脚本   91
    Open Script:打开脚本  92
    Save Script:保存脚本   92
    Save Script As:脚本另存为  93
    Acquire Image:采集图像     93
    Browse Images:浏览图像   93
    Process Images:处理图像   94
    Print Image:打印图像 94
    Preferences:优先参数选择 95
    Exit:退出       97
    第四节 Edit编辑菜单   97
    http://shixinhua.com/imganalyse/2013/01/284.html
    Edit Step:编辑步骤       97
    Cut:剪切       97
    Copy:复制     98
    Paste:粘贴   98
    Delete:删除 98
    第五节 View查看菜单 98
    http://shixinhua.com/imganalyse/2013/01/286.html
    Zoom In:放大        99
    Zoom Out:缩小     99
    Zoom 1:1:原始图像      99
    Zoom to Fit:适合窗口  99
    第六节 Image图像菜单        99
    http://shixinhua.com/imganalyse/2013/01/288.html
    Histogram:直方图 101
    Line Profile:线剖面图   101
    Measure:测量      101
    3D View:三维视图        101
    Brightness:亮度   102
    Set Coordinate System:设置坐标系    102
    Image Mask:图像掩码         102
    Geometry:几何    102
    Image Buffer:图像缓存        102
    Get Image:获取图像   102
    Image Calibration:图像标定        102
    Image Correction:图像修正         102
    Overlay:覆盖         102
    Run LabVIEW VI:运行LabVIEW VI       103
    第七节 Color彩色菜单 103
    http://shixinhua.com/imganalyse/2013/01/289.html
    Color Operators:彩色运算  104
    Color Plane Extraction:彩色平面抽取          104
    Color Threshold:彩色阈值   104
    Color Classification:彩色分类      105
    Color Segmentation:彩色分段     105
    Color Matching:彩色匹配    105
    Color Location:彩色定位      105
    Color Pattern Matching:彩色模式匹配       105
    第八节 Grayscale灰度菜单 105
    http://shixinhua.com/imganalyse/2013/01/291.html
    Lookup Table:查找表    107
    Filters:滤波  107
    Gray Morphology:灰度形态学     107
    Gray Morphological Reconstruction:灰度形态学重建        107
    FFT Filter:快速傅立叶变换滤波  107
    Threshold:阈值     107
    Watershed Segmentation:分水岭分割        107
    Operators:运算    107
    Conversion:转换  107
    Quantify:量化       108
    Centroid:质心       108
    Detect Texture Defects:检查纹理缺陷       108
    第九节 Binary二值菜单        108
    http://shixinhua.com/imganalyse/2013/01/293.html
    Basic Morphology:基本形态学    109
    Adv. Morphology:高级形态学      109
    Binary Morphological Reconstruction:二值形态学重建     109
    Particle Filter:粒子滤波        109
    Binary Image Inversion:二值图像反转        110
    Particle Analysis:粒子分析  110
    Shape Matching:形状匹配  110
    Circle Detection:圆检测       110
    第十节 Machine Vision机器视觉菜单 110
    http://shixinhua.com/imganalyse/2013/01/295.html
    Edge Detector:边缘检测     111
    Find Straight Edge:查找直边        112
    Adv. Straight Edge:高级直边        112
    Find Circular Edge:查找圆边        112
    Max Clamp:最大卡尺  112
    Clamp(Rake):卡尺(耙子)         112
    Pattern Matching:模式匹配         112
    Geometric Matching:几何匹配   112
    Contour Analysis:轮廓分析 112
    Shape Detection:形状检测  112
    Golden Template Comparison:极品模板比较     113
    Caliper:测径器、卡尺 113
    第十一节 Identification识别菜单         113
    http://shixinhua.com/imganalyse/2013/01/296.html
    OCR/OCV:光学字符识别     114
    Particle Classification:粒子分类  114
    Barcode Reader:条码读取  114
    2D Barcode Reader:二维条码读取     114
    第十二节 Tools工具菜单      114
    http://shixinhua.com/imganalyse/2013/02/297.html
    Batch Processing:批量处理          114
    Performance Meter:性能测量     120
    View Measurements:查看测量   120
    Create LabVIEW VI:创建LabVIEW VI代码 121
    Create C Code:创建C代码 121
    Create .NET Code:创建.NET代码        122
    Activate Vision Assistant:激活视觉助手     123
    第十三节 Help帮助菜单       124
    http://shixinhua.com/imganalyse/2013/02/298.html
    Show Context Help:显示上下文帮助  124
    Online Help:在线帮助  125
    Solution Wizard:解决问题向导   125
    Patents:专利         125
    About Vision Assistant:关于视觉助手         125
    第三章 采集图像  126
    第一节 Acquire Image采集图像  127
    http://shixinhua.com/imganalyse/2013/02/299.html
    第二节 Acquire Image(1394,GigE,or USB)采集图像(1394、千兆网、USB) 128
    http://shixinhua.com/imganalyse/2013/02/301.html
    Main选项卡   129
    Attributes属性选项卡   138
    第三节 Acquire Image(Smart Camera)从智能相机中采集图像 143
    http://shixinhua.com/imganalyse/2013/02/302.html
    第四节 Simulate Acquisition仿真采集 145
    http://shixinhua.com/imganalyse/2013/02/304.html
    第四章 浏览图像  150

    Wetzer wrote:
    You can think of the purple "Image" Wire as a Pointer to the Buffer containing the actual Image data.
    That's what I thought too, but why would it behave differently during execution highlighting? (sorry, I don't have IMAQ, just curious )
    LabVIEW Champion . Do more with less code and in less time .

  • Labview vision connection to a robot

    Hello,
    We are a group of students of a Dutch university and as a project we have received the task of making a program. The program is made to recognize a small plastic train in a box using National Instruments Vision Builder AI 3.5. We are making use of prosilica EC3050E camera.  After locating the plastic train the program should send a string of information to our robot (Mitsubishi Melfa RV-6SL) and the robot should then pick up the train.
    We have made it so far to recognizing the train in the box using labview, but now we are stuck in how to find the location and the angle of the train. The train will be in the same height every time  so we only need x-y coordinates and the rotation around the z-axis.
    Then we need to send this location to the robot so it can pick up the train. The problem here is that we do not know how to send the data so it can communicate with our robot (Ethernet, Profibus or serial link).
    We hope you can help us.
    With kind regards.

    We now have come so far that we can recognize our plastic train so we have got all the coordinates we need to locate the train.
    Now we are trying to send this information, wich we believe is send in ASCII, so that the robot will move.
    Our problem now is that the robot needs a komma (,) between the coordinates wich we can't find out how to do??
    The set-up right now is that the camera is in a different room then the robot but is linked using a serial cable.
    Our robot only has one communication port wich is normally linked to a computer wich uses Cosirop to make teach-in programs. We believe it is possible to make a program using Cosirop, downloading this to the robot, and then connect it to our camera set-up wich will send out the data. Does anyone have experience with Cosirop on this forum please contact us. We just cannot find out how to read the coordinates!?.

  • LabVIEW & Vision Position, Pune, India

    VI Automation, Pune is looking for a LabVIEW (6+ months) and Vision (6+ months) programmer.
    The right individual will be responsible for the following:
    - Design and develop LabVIEW and Vision programs
    - Adding to a library of reusable modules
    - Be a diligent user and promoter of Source Code Control
    - Assist troubleshooting HW/SW interaction
    - Be an integral part of the team but work with minimal supervision.
    The Job Details are as follows:
    Job Title: Labview and Vision Programmer
    Locations: Pune, India
    Salary/Wage: Industry standard
    Status: Full Time, Employee
    Relevant Work Experience: 6+ Months
    Career Level: Intermediate to Experienced (Non-Manager)
    Education Level: Bachelor's Degree
    Required
    Proficiency in LabVIEW 8.X and above
    Familiarity with NI Vision
    Familiarity with National Instruments Hardware interfacing (NI DAQ – IMAQ etc)
    Experience in Design and Implementation of Test Software including integration
    Experience in ATE usage and development
    Requirements generation and review experience
    Experience in Taking Part in Technical Teams throughout All Phases of Project Lifecycle
    Experience in Interfacing with Sub-vendors and Customers
    Ability to Multitask
    Comfortable Working on Various Team Sizes
    Excellent Communication Skills In English Desired
    Experience executing verification and validation for projects
    If interested please send your resume and contact information to:
    [email protected]
    www.viapl.com

    Hi,
    My name is Dinesh; I am a B.E Graduate in
    Electronics and Communication working in Labview platform
          My current profile includes
    overall 18 months experience in Labview+ MATLAB.
          I have 15 Months of
    experience in Labview using various National Instruments Hardware such as SCXI,
    DAQ cards & software such Labview 8.2/8.5&8.6, Measurement &
    Automation Studio, NI Vision Assistant, Labview Report Generating Toolkit etc.
          Please go through my resume as in attached
    file and kindly revert back if my profile matches with your requirements.
         Please contact me at [email protected]  or 9941537378 for further details.
    Thanks
    Regards,
    Dinesh
    Mobile: 9941537378
    Mail: [email protected]
    Attachments:
    Dinesh Resume.doc ‏74 KB

Maybe you are looking for

  • Replacing a Mid 2011 Macbook Air 13'' Price?

    Hey, Does anyone know how much apple charge to replace this screen? The rest of the hardware is working fine however the screen has a crack in the lcd. You could save me alot of time from having to vist the genuis bar. Thanks in advance! Josh

  • HELP moving photo's from hard drive with aperture to hard drive with iphoto

    I was trying to move the photo's from hard drive a with aperture to hard drive b and start using iphoto but I have had no luck. In aperture when I select relocate masters a error comes up and say's: unavailable master images cannot be relocated. Eith

  • Computer not fully starting up

    I have a PowerMac G5, and just recently my computer will start up to the gray screen, yet it will remain there, and usually around 30 seconds later, my fans start blowing like crazy. I have shut off my computer and rebooted it with several different

  • My Blackberry Curve (sprint) is 5 months old and suddenly stopped working. Please Help

    Sprint has been absolutely zero help on this matter. It suddenly turned off and will not turn back on. I get a green light while it is plugged in, a red light after a battery reset followed by a brief screen flash. Very brief! I can access programs f

  • Q: WLS 7 Cache Filters (Response Caching) Keys, Vars?

              I can't seem to find any better docs about setting up cache filters than this           http://edocs.bea.com/wls/docs70/servlet/progtasks.html#response_caching           specifically, what are some examples of the init params, Keys and Vars