VBAI migration to labview

Hey guys,.

I get an error when I run my application the error I get is error-1074396120 was held at IMAQ Image read, it says IMAQ vision is not an image. It works very well in VBAI I have a snapshot of the image, but it gives error in labview, suggestions. Thank you

Damien

Found that error had the unit running in another application.

Tags: NI Hardware

Similar Questions

  • The 2012 VBAI Migrateing move KING in LabVIEW

    Hello

    I'm working on a school project were that the goal is to sort different objekt using 2 webcams, VBIA 2012 and 2012 of LabVIEW. Later this week, my program worked allmost that perfectly, just some small change should be made. After I installed LabVIEWmyRIO 2013 region of interest moves directly in the upper left corner of every time I open my projekt in LabView 2012, and it is therefore impossible to deteckt anything. When I opened my projekt VBAI 2012 each parameter is as I want.

    Then, I tried to make a new inspection in VBAI 2012 just to see if the same thing happens when I migrate to LabVIEW 2012. And he made over and over again.

    I have attached a picture of how it look like in VBAI 2012 and a picure of what it looks like in LabVIEW 2012, after that he migrated.

    Version of the software I'm using:

    -2012 LabVIEW c. 12.0.1f5 (32 bit)

    -2012 VBAI SP1 f2

    - NEITHER IMAQdx 4.3.0

    BRG

    Kristoffer

    The Kings are dynamically created a stage to create KING? Could attach you a simple inspection to illustrate this problem? Have you considered using the LabVIEW API to call VBAI (there is a set of screws installed in your palette for LabVIEW that give you that access open inspections, perform inspections, obtain results and images and it will work in fact the same engine as the normal VBAI the fact you will get the same results and this way, it is easy to make changes to your inspection VBAI without having to migrate to the LV again. It also allows for more flexible options for what versions of LV, you can use which versions of VBAI. See the example for delivery here:

    C:\Program Files (x 86) \National Instruments\Vision Builder HAVE 2012\API Examples\LabVIEW Examples\LabVIEW API example (Local) .vi

    Hope this helps,

    Brad

  • Migrating to labview vision Builder... Many VI

    Hello

    I use the latest version of labview and OR vision builder. Using Vision builder get the coordinates X and Y of the object in this area. I need to export this to labview. I tried going in "Migrating to labview. I created a new folder then I gave the name. When I click OK. It creates many VI. I need this in VI only. When I opened the "main.VI", I see that "make, start." When I check the block diagram. I couldn't find the programe I needed for it.

    Hope you understood my question.

    Can you please help me.

    Thanks in advance

    Another option, which could be used in conjunction with the API mentioned Christophe solution is to your X / Y values the variables that you update your VBAI inspection and then read in your code LV. Here's a tutorial on the use of shared variables to communicate the results to the LV of the VBAI:

    http://digital.NI.com/public.nsf/allkb/D492139A746F91A8862576E80051BBCE

    Here is a video showing how to use the API that Christophe has mentioned:

    http://zone.NI.com/WV/app/doc/p/ID/WV-2424

    Here's a video of the use of shared variables (demo shows using targets of the RT, but the same idea might work locally):

    http://zone.NI.com/WV/app/doc/p/ID/WV-2423

  • Vision project of OR can not find the model after migrating to labview.

    Hello
    My problem is the following. I did a project with the vision Builder of NOR. Well, it works fine. BUT, when I migrate this labview project (and after that, I build an executable version) it can not find the model on the selected images. (Yes, I use the program with images, not with the camera.) What should I do? I tried to put the models next to this project, but it did not work.


  • Problems with migration from LabVIEW 2012 VBAI 2012.

    Hello.

    Someone had problems with the migration of the VBAI 2012, 2012 to labview?
    I'm filing this disadvantage when use migration in VBAI everything works fine, when I use LabVIEW with 'Vision Acquisition Express' for example, everything works as it should.
     
    The solution I've done has been to work with the control VBAI API and it worked perfectly, but I wonder, if a bug or a known error on this process.

    Thank you.

    Finally, I solved it by installing the "Vision Development Module 2012 SP1". With this update worked correctly migration.

  • For the migration of LabVIEW VI Analyzer

    Hi all

    I remember hearing that the VI Analyzer can be used to check for issues related to migration between versions of LabVIEW.

    We already have VI Analyzer, but can someone please point me in the right direction to get the VI Analyzer test resources.

    Thank you

    Phill

    http://www.NI.com/white-paper/11636/en/

  • Runing VBAI Inspection of LabVIEW

    Hello

    I found an example named "Example LabVIEW VBAI" (for LabVIEW 2011) which allow VBAI launch of a LabVIEW application inspection and then get the results of the inspection.

    The problem that I can not run this example because it used a special library for interaction with the end VBAI there is no documentation on this library.

    I would like to know who to import inspection name or reference to run.

    Thank you

    I found the solution to the example under folder examples examples/LabVIEW VBAI 2011/API.

    Thanks to you all

  • VBAI 2011, possible to migrate directly to LabVIEW 8.6 code?

    Hello

    I was wondering if VBAI 2011 can migrate from the inspections directly to LabVIEW 8.6 code.  I have installed on my computer:

    VBAI 2011

    LabVIEW 8.6

    LabVIEW 2010

    LabVIEW 2011

    Module OR Vision Development 2011

    I don't see the option for LabVIEW 8.6 in my menu.  Any suggestions?

    John Wu

    Riobotics Consulting

    I encourage you to watch the Vision Builder AI LabVIEW API, which is supported in LabVIEW 8.6.

    This feature allows you to control Vision Builder AI of LabVIEW (open inspection, run once, get results etc.)

    Unless your application requires very tight hardware integration, with equipment you can do only in LabVIEW code, the code that you write with the API will be much cleaner to work with generated code, which is somewhat complex.

    Look at the examples located here:

    C:\Program Files (x 86) \National Instruments\Vision VBAI 2011\API Examples\LabVIEW examples

    Best regards

    Christophe

  • vision builder to labview migration

    Hello

    I have a project of vision. Pluggable VISION BUILDER pour image processing and the LabVIEW pour interfacing.

    My question is: how to call an inspection done by VISION BUILDER in the LabVIEW software.

    NB: I found in the Tools menu of VISION BUILDER a feature titled "Migrating to LabVIEW. but she could not be executed because I don't own

    the DEVOLEPMENT VISION MODULE. Have to buy another software OR (VISION DEVOLEPMENT MODULE) pour fix my problem? : smileysurprised:

    Thanks in advance

    Hello

    Vision Builder is provided with an ActiveX control that you can call from LabVIEW. You will find enclosed a few Directory promotion the in examples

    \

    The ActiveX component allows to control Vision Builder as you would you interface greengrocers. Once you have created your inspection in Vision Builder, you can use the ActiveX component to connect a Vision Builder of LabVIEW, open an inspection, execute, recover and display the image (you need not purchase the Vision Development Module pour it), and get the results of inspection and each step of the inspection.

    Hoping that this answer has your expectation

    Kind regards.

    Christophe

    OR R & D Vision

  • Migrate from the Labview inspection does not have to acquire the image

    I migrated my inspection of Vision helps with Labview 8.6 and the sad program he managed. But I have Labview 8.6 I got a long error list containing different items IVB IMAQdx (Exec (for RT.vi), management resources (for RT.vi), etc...). Number of items had the error messages "definition not found xxx:Type or contains errors", "xxx: Subvi is missing ' and ' xxx: Subvi is not executable. Inspections in Vision Builder works very well, and the Vision Builder to Labview migration also works very well I I choose a simulated acquisition. What is the problem and how a slove it?

    I have LabView 8.6, Vision Builder 3.6.

    / Johnny

    The stage of image acquisition depends on a driver whose API is not installed in your folder of LabVIEW. Reinstall the software of Acquisition of Vision and do not forget to install the LabVIEW 8.6 support.

    In addition, Data Logging and Image Logging steps require the internet Toolbox. Look in the "Migration of LabVIEW" section of the online help for a list of the drivers/toolkits, you must install when using hardware related as follows.

    I hope this helps.

    Best regards

    -Christophe

  • Improve the performance of application VBAI

    Hello

    I have a request, I wrote in VBAI and am satisfied. The problem is that it uses VBAI States for circle detection several times (via a loop). This causes a maximum of 300 ms extra use of the CPU by inspection.

    What I was asking is this: if I migrate my VBAI app to LabVIEW, how can I run it again on the target using LabVIEW RT?

    I'm running a smart camera, NI 1752, with clock 600 MHz and 512 MB RAM. Inspection rate required is 1 inspection per second minimum.

    My application inspects a conveyor which shows (0-8) units per inspection. When no unit is present, the inspection time is fine, but when there are 8 units are equal to ~ 1200 ms per iteration. I suspect it's because of me using machines to States VBAI, which introduced a large number of delays. I do not know code LabVIEW would be more effective.

    Thank you

    Hazim Salem

    If the initial inspection took about one second per iteration. I think there is some overhead of reference that we include in these figures that show us who actually don't occur when you run in mode of inspection and this is why there are ~ 7ms General fresh extra time compared to the sum of all stages of inspection. Anyway, I made some minor changes to the step of PM and it took off about 70ms. I also tried to use a stage run LV to do all detections of circle at the time and overlays, so you don't need to make a loop and it saves another 250ms.

    Original time ~ 1000ms

    New time ~ 680ms

    I have attached the LV code used by the step execute LV and updated control. Don't forget to copy the LLB in the folder of the target at c:\User generation live if you need to make changes, update the Circles.vi multiple detect and rebuild the LLB from the project and copy LLB resulting to the target.

    Hope that helps and let me know if you just want to while LV (that would be the fastest), but maybe the modified VBAI inspection is fast enough now.

    Brad

  • count pixcel labview vision 2013

    Hi gays

    I need your help I want to count number of pixel with model mink labview 2013

    Thank you

    Try the VI IMAQ number of 2 objects in motion and Vision > visionique > count and measure objects palette.

    If that is not exactly what you want, you can always choose to pass inspection VBAI to LabVIEW (Tools > Inspection migrate for LabVIEW of VBAI) and look at the generated code. It will produce exactly the same results as in VBAI. The only thing is that the generated code is complex.

    I hope this helps.

    Christophe

  • How to run vision inspection build in VBAI 2011 on PC

    Hi all!

    I am currently working on the machine in VBAI 2011 vision project. First tests of my vision algorithm, I did with the images acquired previously by original camera. I used simulate acquisition for work on these images. When I finished my project on VBAI I decided to migrate my LabVIEW 2011 inspection using the new API, because I create the more complex User Interface. I created as a result of the code:

    I got from http://zone.ni.com/wv/app/doc/p/id/wv-2424

    I know not what do I connect Session in the entrance of the VBAI Interface - open Inspection.vi, and my VI work not at all.

    I'd appreciate any help. Please let me know if you had previously same problem and how to solve it.

    You must call launch Local VBAI engine, then the connection to the VI engine. Look at the example in your examples examples/LabVIEW VBAI 2011/API file for how to do this.

    Thank you

    Brad

  • Migration of the vision AI 2011 to Lab View 2011 constructor

    Hi all

    I try to use the smart camera, Ni 177 X series to work on a project and when I finished my request on VBAI and tried to migrate in labview, something has gone wrong.

    The migration itself does not work well, but after the migration, I can't get the image at all.

    I checked the plug IMAQ in I might need, My IMAQ version is 4.7 and IMADdx is 4.0. They must be good.

    and I've discovered since the block diagram for "Cleaning installation" operation, an error occurred

    Error 1074397163 occurred at IVB IMAQ - clear Triggers.vi

    Possible reasons:

    NOR-IMAQ: The session or the interface passed is not valid.

    I think that's why I can't get the image, but I have no idea how to solve this problem, someone knows how to fix this?

    Thanks in advance.

    There is another reason, I advise to use the API. If you migrate to LV, you need all the good versions of LV, RT, Vision, etc If you use the API, you will not have to change anything on your target and you can use any version of LV, you have (assuming that the API is installed in this version of LV). Write code LV works on Windows, but control the VBAI engine on your target and get results and images. To get your Smart Camera back in good condition, VBAI open, select your target in the splash screen, and there should be a button 'Install Software'. When you click on it, make sure you do NOT check the box to reformat your target, otherwise you will lose any control that you wrote. Unless there is a very good reason not to use the API, it seems that this option will be much easier for you.

    Hope this helps,

    Brad

  • Multiple instances of VBAI

    I know that we can now acquire multiple cameras in VBAI (thanks!).  However, in my view, what to do so leads to very complex control sequences.  It doesn't look like VBAI has fully embraced parallelism for anything other than the FTP transfer.  What should I do if I have 5 cameras GigE each needs to be raised, and where it is possible that two can be triggered at the same time?  Can I run multiple instances of VBAI on a single PC (hey, it's multi-core)?  I predict that the current response is to use LabVIEW, but VBAI is especially LabVIEW... right?

    I want to retain only the simple, single camera, inspections on the PC.  Running multiple instances of VBAI would allow me to devote an instance for each camera without worrying about what's happening on TSF the other 4 (or more).

    No, I have not tried to do it again.  Currently, I am out of town and away from my vision laboratory.  I thought that if this is possible, it is worth mentioning to the public and if it is not, then, it is worth noting in R & D.  The system I'm imagining would be a future version of a system, we finished just where we had 4 NI Smart Cameras and a GigE camera.  The question is on what to do if all 5 GigE cameras.  Don't worry, we still love the SmartCams!

    On a sequence of validation.

    Dan press

    PrimeTest Automation

    Hey Dan,

    Good question! VBAI supports the acquisition of several cameras, even if they are triggered at the same time. We have a flag in the acquisition stage that allows to specify if you want to wait as the following picture or purchase immediately. Thus, in the case simple two cameras triggered at the same time, you will have an initial state who tried to acquire the camera 1 and if there was a timeout he loop back and try again using the wait for the flag of the next Image. When an image is acquired, you know that the other camera was triggered, so you transisition to another State who acquires the camera 2 with an immediate flag, since we know that the image is already there. You can use the image select to switch between the two images, so it is possible, but not necessarily the cleanest. Even if you had two VBAIs simultaneously, synchronizing is not trivial to make sure you weren't inspect imageN camera1 and imageN + 1 on camera2, but perhaps this would not be the cause of your system. In any case, we don't currently support multiple inspections VBAI operating simultaneously on a system, but it is certainly a feature that we know.

    Thanks for your series of validation,

    Brad

Maybe you are looking for

  • Post SUPER SUPER SUPER SLOW

    Mail on OS X 10.11.1 9.1 is SUPER SUPER slow.  It is a new problem.  No updates have been made to the MacBook Pro 15 "2.5 Ghz Mid 2009 laptop computer. After clicking on the Mail icon, it begins to start and EVERYTHING is slow analysis.  Mail takes a

  • Firefox crashes when I go to google voice

    With the latest firefox... whenever I go to google voice... Firefox crashes URL of affected sites https://www.Google.com/voice

  • WCS 5.2.110.0 problem (Win2003 Server)

    Hello I am having a minor problem with WCS v.5.2.110.0. WCS is working properly, but when that I disconnect the server, stops of WCS. WCS software runs as a service and there is no other software running on the server. System requirements and Windows

  • Key stopped working in Developer SQL 4.0.1

    In the past when it was a question that we go to tools > Preferences > accelerators and load preset.  We now use 4.0.1 and accelerators are no longer an option.  Please tell us how to get the keys working again.

  • Remove the imported chips and replace them by paragraph Style

    I imported a large number of documents to PDF and I need to remove the text format for the numbering of lettering and balls and replace them with paragraph styles. I find it difficult to arrive at a text or grep search and replace for it.So far I man