The IMAQ-Vision image display function seems to use two processors automatically

Because the IMAQ-Vision function to display an image was slow for large images I wrote my own routine using the Windows SDK and it was much faster.
However, now that the application has been moved to a dual processor PC the opposite is true, i.e. the application runs much faster if I use the IMAQ-Vision function. Inspection reveals that this is due to equal loading on the two processors, whereas if I use my SDK routine all the load is on the first processor.
Is there some explanation for this? Do the IMAQ-Vision routines have built in multi-threading?

Sir,
Naturally, the IMAQ Vision display function does use multi-threading. Whether it uses the second CPU for this thread is operating system dependant.

Similar Messages

  • Can't find image display in the IMAQ Vision control palette

    Hi
    I am trying to display an image on the front panel. But i cannot find the image display vi .. according to the manual, it is available from the IMAQ Vision control palette. I have the academic version of LabVIEW 7 express. Does my version have the vi? Thank you
    rsa..

    Hello,
    The IMAQ Display control is a part of the NI-IMAQ driver. This driver is free of charge and can be downloaded from our website by going to www.ni.com/download. Here is a URL directly to the current version of IMAQ: "http://digital.ni.com/softlib.nsf/websearch/CD7EAFE90E9E47398625703000754A12?opendocument&node=132060_US". If you plan on using that control, I would recommend just installing the driver for it on whatever computer you want to use it on.
    Regards,
    Aaron B.
    National Instruments

  • When I buid an application, the vision image display is black.

    Hello !
    I have made an application using "vision image display". I have labview 7 express and vision builder 6.0. On labview, my application run very well and my image is displayed.
    I create an application with application builder 7 and I run it on a client computer with labview runtime engine 7.0 and IMAQ Vision 6.0 run-time engine. And my image is never displayed but stay black.
    Why ?

    Hello,
    I have a few questions concerning the problem. Where does the image come from, is it read in or is it from the harddisk. When the image is read in, which hardware do you use? I think you taked off the lens aperture and checked the contrast!? Check if the "vision image display" is correct licensed. Which Version is used from the "vision image display"? You can also check, when there is used any hardware if the drivers are the same on both systems. The current version is 2.6. With your answers, we should get a solution for the problem.
    ThomasD

  • IMAQ WindDisplayMapping...for Vision Image Display Control?

    The IMAQ WindDisplayMapping operates on an IMAQ window display. Is there an equivalent fx that will operate on the Vision Image Display Indicator that can be placed on LabVIEW front panel? (Or do I need to code up the equivalent fx?)
    Thanks,
    Don

    Use a property node and select 16 bit image mapping. You can create a control for this or whatever you need. If you select the individual elements, you can get enumerated controls.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How do I convert an IMAQ image buffer into an IMAQ Vision 'Image'?

    Using NI IMAQ and IMAQ Vision with LabWindows/CVI 6.0...
    I have some acquisition code that uses IMAQ img functions to set up a
    triggered image acquisition and stores the image into an 1D unsigned char
    array buffer.
    I would now like to add code that uses the IMAQ Vision functions. The IMAQ
    Vision function use an Image data type, which from what I can glean from the
    ..h files, is a structure.
    Is it possible to convert the 1D unsigned char array image buffer to an
    Image? How would I do this?
    An inefficiant brute-force way would be to write the image to a BMP file
    from IMAQ using imgSessionSaveBufferEx, then read the same file back in
    using IMAQ Vision imaqReadVisionFile. I am hoping there is a more elegant
    way to perform the conversion in memory without needing to write disk files.
    Thank you,
    Robert Rafuse
    Etec, Inc.
    tel: (978)531-5025
    e-mail: [email protected]
    web: http://www.etec-inc.com

    Bob Rafuse wrote:
    > Is it possible to convert the 1D unsigned char array image buffer to
    > an Image? How would I do this?
    Never mind. I found:
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F11556A4E034080020E74861&p_node=DZ52490&p_submitted=N&p_rank=&p_answer=&p_source=External
    which indicates that the img functions actually return a 2D array, so I can
    use imaqArraytoImage after all.
    My bad.
    Bob

  • Writing a Compressed AVI File in NI LabWindows/CVI with the IMAQ Vision Acquisition

    I'm still facing some problems when I try to save pictures from a GigE Vision camera into a compressed avi-file in a LabWindows/CVI application on Windows7.
    The task is to grab images from the camera with 30 fps to monitor a process, evaluate the grabbed pictures to find certain characteristics of the monitored process and save them in an avi-file to have the possibility to load and evaluate them once again Offline if necessary.
    My questions: which compression filters can I get with the NI-Imaq Vision Acquisition and Vision Development Runtime 2012 SP1? Is a mpeg4 codec available to compress quickly and effective? Can I use a third party codec or only the ones delivered with NI-Vision?
    I posted the problem two times already, but there is little response up to now. Thanks

    The encoding algorithm, or codec, that's used for compression needs to present on your system. When I had done some research on this sometime back, I found that if your custom codec could align with the DirectShow architecture, then your codec would work with IMAQ AVI functions.The codecs that are available may vary from system to system, depending on what software is currently installed. Be sure to check out this article:
    Writing a Compressed AVI File with the IMAQ Vision Acquisition Software
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • How do i create a Count for the no. of images displayed on stage

    i am a total newbie in flash ! & currently making a simple mcq quiz.
    each stage will have three choices of answers (A/B/C)
    every correct answers will be displayed an image :
    var myQ1a:URLRequest=new URLRequest("tick.png");
    in the end, how can i count the number of images displayed in the overall flash and display it.
    or.. perhaps you have other options on how can i display the scores.

    Hi.
    here's my code :
    stop();
    aa1.addEventListener(MouseEvent.CLICK, ona1Click);
    bb1.addEventListener(MouseEvent.CLICK, onb1Click);
    cc1.addEventListener(MouseEvent.CLICK, onc1Click);
    next1.addEventListener(MouseEvent.CLICK, onNext1Click);
    home1.addEventListener(MouseEvent.CLICK, onHome1Click);
    var Q1a:Loader;
    var Q1b:Loader;
    var Q1c:Loader;
    var Q1next:Loader = new Loader();
    var Q1home:Loader = new Loader();
    //the name of the function has to match what you're calling from the event listener
    function ona1Click(evt:MouseEvent):void {
    Q1a = new Loader();
    bb1.removeEventListener(MouseEvent.CLICK, onb1Click);
    cc1.removeEventListener(MouseEvent.CLICK, onc1Click);
    var myQ1a:URLRequest=new URLRequest("wrong.png");
    Q1a.load(myQ1a);
    addChild(Q1a);
    Q1a.x=320;
    Q1a.y=180;
    function onb1Click(evt:MouseEvent):void {
    Q1b = new Loader();
    aa1.removeEventListener(MouseEvent.CLICK, ona1Click);
    cc1.removeEventListener(MouseEvent.CLICK, onc1Click);
    var myQ1b:URLRequest=new URLRequest("tick.png");
    Q1b.load(myQ1b);
    addChild(Q1b);
    Q1b.x=320;
    Q1b.y=260;
    function onc1Click(evt:MouseEvent):void {
    Q1c = new Loader();
    aa1.removeEventListener(MouseEvent.CLICK, ona1Click);
    bb1.removeEventListener(MouseEvent.CLICK, onb1Click);
    var myQ1c:URLRequest=new URLRequest("wrong.png");
    Q1c.load(myQ1c);
    addChild(Q1c);
    Q1c.x=320;
    Q1c.y=340;
    //next1.addEventListener(MouseEvent.CLICK, onNext1Click);
    function onNext1Click(evt:MouseEvent):void {
    if(Q1a)
    removeChild(Q1a);
    if (Q1b)
    removeChild(Q1b);
    if(Q1c)
    removeChild(Q1c);
    gotoAndPlay(2);
    //home1.addEventListener(MouseEvent.CLICK, onHome1Click);
    function onHome1Click(evt:MouseEvent):void {
    gotoAndPlay(17);
    this code is on the 1st frame. this will go on till the 15th frame. i wonder where i can put the codes you've given me ..

  • What does the IMAQ Cast Image VI do exactly?

    Hi everyone,
    I want to convert a RGB image to grayscale. By now I can do this, using the IMAQ Cast Image VI. But now I was wondering what exacly does this VI do? How does it make a grayscale image from the RGB image? What is happening under the hood?
    Hope someone can tell me, since I really can't find it. Thanks in advance ^^.
    Solved!
    Go to Solution.

    For each type conversion there is specific operation. In your case The VI sets the destination value to the average of the three color components of the source.
    For more:
    http://zone.ni.com/reference/en-XX/help/370281P-01​/imaqvision/casting_images/
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Curious, How many people use the IMAQ Vision package?

    Yeah, just wondering... how many people here use the IMAQ Vision package on a regular basis?
    I do, for one.

    Add one to the counter
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • I have been using facetime on my iphone for a while and after the recent, ios update, I cannot seem to use the facetime. What went wrong?

    I have been using facetime on my iphone5 for a while and after the recent IOS update, I cannot seems to use my facetime any longer. what went wrong?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query

    How to retrieve Task Lists from All Subsites to the Parent Site and display in  Grid view using CAML Query + object model

    do u just want task list or items under task list for all subsites
    for items use spsitedataquery ref
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
    for tasklist only u can a simply use a for loop to find in all subsite
    Manish Sati

  • HT3728 My Time Machine tells me it cannot complete the backup to my Time Capsule because the backup disk image sparsebundle is already in use.

    The 2GB hard drive on my iMac failed and has just been replaced under warranty.
    When I got it back I restored my Time Capsule and started back ups of the iMac and the MacBook Pro.
    Now 2 days later it is telling me that  Time Machine couldnt complete the back up to my Time Capsule as the backup disc image sparsebundle is already in use. It is saying this for both machines which presumably means a problem within the Time Capsule.
    What does this mean and what should I do about it?

    See # C12 in Time Machine --- Troubleshooting
    http://pondini.org/TM/Troubleshooting.html

  • Over the course of many years I seem through using different computers to have several apple ids and three email addresses, this is causing problems with synchronising, I have an iPod, iPhone and ipad

    Over the course of many years I seem through using different computers to have several apple ids and three email addresses, this is causing problems with synchronising, I have an iPod, iPhone and ipad

    Hi there
    Sorry for hijacking your thread as put by Dahveed. However I have resolved my issue so I thought I'll share it with the rest of you.
    I checked for the error 3194 in youtube and I found some good videos that tell you how to resolve the problem. The issue I was facing was the actually (I know because I have resolved it now) the communication between my computer and apple server which can be fixed as following (if you are using windows):
    There is file in following directory:
    C:\Windows/system32/drivers/etc/hosts
    The file normally has no extension and it is in file format. You need to open it and make sure that every line that has apple server id starts with "#". In my case one of the line started directly with the ip address and then gs.apple.com.
    Perform your restore/update after that and hopefully it should be resolved (mine did).
    Cheers

  • HT204053 What are the pros and cons of 1) choosing to use the SAME Apple ID for iCloud services on one side, and purchases on the iTunes Store, App Store, and iBookstore, on the other side; or 2) to have and use two separate Apple Ids for these "two sides

    All is in the title, so I repeat it below with a better identation.
    What are the pros and cons of
    1) choosing to use the SAME
                                                  Apple ID for iCloud services on one side, and
                                                  purchases on the iTunes Store, App Store, and iBookstore, on the other side; or
    2) to have and use two separate Apple Ids for these "two sides"?
    P.S.
    I have loads and loads of free podcasts in iTunes in my iMac, that are certainly more thant the 5 gigas the iCloud provides for free, so I don't want those to go to the cloud. But this is perhaps a different question...
    Also need to mention that I have itunes on a mac, a pc and an iphone.
    Sorry to look so silly with this question, but I don't get the "big picture".

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Can a Vision image display's "zoom to fit" action be seen by an event structure?

    The "Image Display" indicator from the "Vision" palette has a right-click (context) menu option of "Zoom to Fit".
    Is there any way to capture the selection/execution of this action with an event structure?

    I don't believe there is a way to do this with an event structure.  However, there is an image window property node for the zoom to fit option.  You can wire the output boolean into the input of a case structure and execute a different set of code depending on whether or not the zoom to fit option is selected.  This should give you the same functionality as an event structure.  Please let me know if you have any further questions.
    Regards,
    Chris L
    Applications Engineer
    National Instruments
    Certified LabVIEW Associate Developer

Maybe you are looking for

  • HT4623 How to download Built-in-Apps for iPhone 4

    I need to down load Buil-in-Application FaceTime for iPhone 4. Please advise me how to do it step by step. By mistake I have delated it. Thanks lot

  • User-Specific Variable in Web Interface

    I have created a manual planning layout with User-Specific variables – one for Sale Group and one for Sales District. The variable successfully restricts user access to data when executed in SAP GUI. A Web Interface was successfully generated from th

  • Manage Sites - How to define skeleton

    Hi all, My apologies if this has already been answered, I just can't find it, and googled all day today to find a solution, so you guys are my last resort. I do like the Manage Sites option, and use it quite extensively (Win/Mac Platform). Now I woul

  • System property org.xml.sax.driver not specified

    I'm getting the error: System property org.xml.sax.driver not specified How do I set this property? Why doesn't it find the default? I'm using WL6.0 Imports: import javax.xml.parsers.SAXParser; import javax.xml.parsers.DocumentBuilder; import javax.x

  • Referenced photo directory tree - refresh import?

    Okay, maybe I need to completely change the way I do things, but I can't figure this out. I just did a full import of a multi-level directory tree into Aperature, and it works great (although it took a while). There are multiple levels, and thousands