IMAQ Error in Image Acquiring Loop

Hey,
I've been trying to develop a control for a USB camera that needs to take many images per run. I'm using the IMAQ-USB commands. The problem I'm getting is that after about 180 images I get the following error:
-1074396030
There are too many classification sessions open. You must close a session before you can open another one.
After I get this once, I continue to receive the error any time I try to use the program untill I unplug and replug the power to the camera. 
The camera I'm running is a FLIR IR camera, Labview version 8.5 on windows 7.
If you guys have any idea whats causing this or how to fix it I'm all ears.
I've attached the program below.
Attachments:
MultiImage.vi ‏31 KB

Use shift registers on all your references, and use grab instead of snap.  I don't have older version installed, so I cannot test this further.  What camera model from FLIR are you using?
Machine Vision, Robotics, Embedded Systems, Surveillance
www.movimed.com - Custom Imaging Solutions

Similar Messages

  • Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

    I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?
    I have picture and program as attached.
    Attachments:
    color sorter 01f.vi ‏87 KB
    Red01a1.jpg ‏30 KB

    Hi XuanThuy,
    The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

  • Using IMAQ create, set-up, acquire and windraw to save image without color map

    Hi,
    Attached is my VI (using labview 8.5) and am not sure where it is getting the color info from, but it saves the image as jpeg/bmp/tiff with colormap (confirmed by imread in matlab). Can someone help me save these images without colormap info.
    Thanks
    Attachments:
    HL Grab with two boards and SONY XC55_Images.vi ‏166 KB

    Hi Maverick269,
    I noticed that you posted this question over on the Machine Vision forums as well. That will definitely be a better place to get this question answered, so let's work on the issue over there :
    http://forums.ni.com/t5/Machine-Vision/Using-IMAQ-create-set-up-acquire-and-windraw-to-save-image/m-...
    In the future it helps us stay organized if we limit each issue to a single thread.
    Cheers,
    Andy C.
    Applications Engineer
    National Instruments 

  • How to reverse an image acquired using IMAQ APIs in vc++

    how to reverse an image acquired using IMAQ APIs in vc++

    When using imaqFlip, may the source and destination be the same Image* ?
    TIA!
    Jesse

  • No images acquired

    hello,
    Using Labview 5.1 and Imaq boards PCI 1408 and PCI
    1411 with driver version
    2.2., I have the following problems:
    Under measurement and automatisation the devices
    are working fine with both
    boards (a colour camera on the 1411 and a spectrograph
    on the 1408), I have
    a program in labview 5.1 and the advanced IMAQ vision
    toolbox to acquire
    the data and the images
    everything was working well untill I had to reinstall
    windows, since then
    there are no images acquired under the labview program
    and the image windows
    just show
    a gray field(using the windraw VI) and
    the images are not saved to disk. I checked the
    interface files and they are the same as in measurements
    and automatisation.
    But if I deliberatly change the interface file in
    the labview program (init
    VI) to a wrong file name the result is the same.
    So I suppose there is a
    problem with the initialisation of the cards. Could
    it be a windows 98 problem,
    the program was running under windows 95 before?
    I tried to run the program
    on a 95 computer and the same problems occurred.
    By the way, I had to reinstall
    window because it was giving general protection errors
    during the IMAQ initialisation
    during startup.
    I would really appreciate some help...
    TIA
    Koenraad

    Now that you have Windows 98, do you still receive a proper image in MAX when you hit Snap? If so, then there must be something in the LabVIEW software that is different. First I recommend updating your NI-IMAQ driver to version 2.51, which is available for free off of our website. Then I recommend running a simple example program in LabVIEW that acquires an image. If nothing else, the example code should give you an error if it isn't working, especially if you're getting a clean image in MAX.
    Kyle V

  • IMAQ resample invalid image type

    Hi,
    I am rewriting an old non-versatile version of a VI. I don't have much experience but I have the old VI as sort of a template for what I need to do. It's weird but although I try to do things exactly the same way, they don't work.
    I acquire a high resolution image from the camera (IMAQ Acquire) which is too big (1280x1024). I want to resample (IMAQ Resample) it to 256x320px.
    I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.
    The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?
    Dennis
    P.S. I use LabView 2009
    Solved!
    Go to Solution.

    Deneck wrote:
    I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.
    The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?
    No, not right. IMAQ Resample doesn't support U16 type (at least up to VDM2011). Refer to Help.
    Convert your image to I16 (if possible) prior to resampling.
    Andrey.

  • IMAQ FFT destination image, help!

    Hello,
    I am new to using LabVIEW so please bear with me!
    I am reading/working my way through the IMAQ user manual for LabVIEW and I am trying to get IMAQ FFT working.  But I have trouble finding the VI that the destination image of IMAQ FFT VI should be connected to. At the second it gives me an error when I try and run the program.
    At the second I am really struggling to find the correct VI
    Also I am little unclear what the destination image is for, does the image need to be saved?
    Many thanks,
    Jack

    Hi,
    For IMAQ FFT Destination Image should be connected and must be complex:
    Andrey.
    PS
    Forum for Vision-related questions here
    Message Edited by Andrey Dmitriev on 01-28-2009 12:52 PM
    Attachments:
    FFT Sample.png ‏24 KB
    FFT Sample.vi ‏41 KB

  • Getting IMAQ Error -1074397177 after making vi into exe.

    I have created a vi that captures a single frame and in this vi there are property nodes that get the interface type, image type and set the white and black level.  There are also the vi's to capture a singe frame.  The application works fine in the development mode.  However when I create an executable I get an error.  See attached.
    I have tried removing the property nodes that are in the Sequence Capture.vi, but I still get the same error message.
    Any help would be great.
    Attachments:
    IMAQ Error.doc ‏74 KB

    Hi Jeffrey,
    I have been messing around and found that my problem is in reading the IMAQ interface type.  When I am running the vi through Labview I get an interface number of 5129,  but as an exe the number is 1409 which is the board type that I am using.  Not sure why there is a difference between the two?  However we are using two different types of cards (1409 and 1411) in our lab and I need to identify which type it is because the setting values are different.  If you look at my code I have a condition at the start to check this.  But if I check to see if the type is equal to a 1409 (which is the card I have in my development machine) it will return it as false.  I have set the check as a not equal to so I can get this application up and running for now.  Maybe you could give me some idea as to why?
    Terry.
    Attachments:
    BCS Adjustment.vi ‏228 KB

  • Pass error references to parallel loops

    I have a program with two parallel loops, each of which are contained within subvis for compactness. One of the loops acquires data and writes it to a queue and the other reads the queue and performs calculations. The problem is that I would like to stop both loops if an error occurs in either loop but I get Error 1055 (Object reference is invalid) when trying to write the error to the reference. I know of several ways to get around this (i.e., depend on the timeout, write only the error status, etc.) but was wondering if anyone else has had a similar problem.
    Thanks,
    John

    I have attached jpegs of the code for the main vi and for the data acquisition vi which is giving the problem. I tried to recreate this problem in a scaled down program, but it worked properly. I'll continue taking a closer look at this while I also consider other options.
    Thanks
    Attachments:
    MainProgram.jpg ‏124 KB
    Acquire_subvi.jpg ‏94 KB

  • Error: Failed to acquire connection while exporting a file using SSIS package through SQl Server Agent job.

    Hi Team,
    I am running a sql server job which is loading data to a sharepoint document library.File is an excel format and is getting loaded
    when executed through SSDT solution .But when i am using an SQL Agent job to pick up the file it doesnt get the path and agent job fails with the error "Failed to acquire connection".I have deployed the SSIS Package through SQL Server 2012 deployment
    methodologies.
    I am not able to trace the error of loading data from a sharepoint library.library. Sql agent jobs works fine when i give local path.The
    account which is running the sql agent job is the same who has access to document library.I also tried to run the job through proxy account. I am using a xml configuraion to store my credentials.I am able to palce the same file to a network drive in the same
    server through sql server agent job. The only problem is when I am trying to load the file to a sharepoint folder.
    Thanks,
    Arsa..

    Is that the WebDAV method that you are suggesting here to map the n/w drive?
    Its kind of webdav but you will be using windows nw drive to store data
    yes, I am able to create the file to D: , but didn't check with the C:.
    Try with c:, as c: require special permisssions
    If this helped you resolve your issue, please mark it Answered

  • I cannot move photos from iphone to MacBook.  I get an error message that says: Error downloading image. iPhoto cannot import your images because there was a problem downloading an image. How can I fix/remedy this?

    I am receiving an error message every time I plug my iPhone 4S into my MacBook: Error downloading image. iPhoto cannot import your images because there was problem downloading an image.  How can I fix/remedy this?

    try Image Capture - in your applications folder
    LN

  • Editing Error - This Image cannot be rendered for editing...

    Editing Error - This Image cannot be rendered for editingbecause Aperture doesn't support the image format.
    Thats the message that appears when I'm exporting to Photoshop CS5 (I tried CS4 too), or even other Plug-ins such as Silver Efex Pro...
    That had never happened before, and I use Aperture for over 2 years.
    Its RAW image format from the same camera and all, nothing has changed. just randomly decided not to export anymore to other programs, Regular exporting works, so it's nothing to do with exporting it self, but the communication between aperture and other softwares, I think.
    I've seen some other people having the same problem, does anyone have a take on it, in how to solve this? I can't edit anymore outside of aperture. (of course not including the idea of exporting and doing everything away from aperture, which is totally not viable with the amount of content to be edited and not being in aperture anymore.)
    I've tried deleting the preferences, tried repair permissions of the Library, and still didn't work.
    Didn't go to the other 2 options (repair and rebuild database) because it would take days if chosen, and still not sure that would solve. or if has anything to do with.
    Any light anyone?

    What kind of file is it? (i.e.jpeg, Canon RAW, Nikon RAW etc..)
    As a workaround until you get the issue fixed, why not reimport the image from the original file, lift and stamp any adjustments you've made in Aperture, and see if the same problem occurs?
    A

  • Read Error of images in libre office

    read error in images of LibreOffice
    Hi, when loading this file, do not load images in the document, this only happens since version 3.5, instead of pictures, a box appears with the message "read error".
    The file I downloaded from the Internet, the images are correctly loaded into abiword.
    I would appreciate your help, thanks.
    The File

    Crystal Reports is limited in how it works with images - large images or a large number of images, etc. Much as CR is not a good database archiving tool, it's not a very good graphics presenter. I find stand-alone versions of CR are a bit better, but that may just be a perception. My recommendations:
    1) Try an eval of a stand-alone version of CR:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Go for CR 2008 as CR 2011 does not have any SDK
    2) Make sure the picture  blob  what ever, never spills beyond the designer pane of the report. This may change from site to site depending on printer drivers used (CR depends on these to render the report)
    3) Have a look at the article [Causes of "Background Processing" error|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Need Help on Troubleshooting IR Error: Failed to acquire access to database

    Hi there,
    I have been struggling with the following error "Failed to acquire access to database" and ODBC driver error "Data source name not found and no default driver specified" when opening an IR document for a few weeks.
    The IR document uses an oce file called ABC.oce and DAS has been configured accordingly.
    ODBC System Data Source called ABC created on server running IR DAS as follows:
    - Driver: Oracle in OraClient11g_home1
    - TNS entry: ABC
    - Connection tested successfully;
    IR DAS entry ABC created as follows:
    - Connectivity Type: ODBC
    - Database Type: Oracle
    - Hostname: ABC
    oce file called ABC.ore created as follows:
    Interactive Reporting Database Connection
    Connection Software: ODBC
    Database: ORA8
    Host: ABC
    Username and password have been entered in the oce file as well.
    What possibly have I missed?
    Any help will be highly appreciated.

    Are you using the Hyperion ODBC drivers which comes with the Hyperion installation?

  • Trying to upload pic's Message error download image issue?

    Trying to upload pic's from Iphone 4 to macbook air. iphoto is sending bcak an error message error downloading image? not able to upload?

    Jeff,
    When I purchased my Dell laptop a year ago it came loaded with Adobe Photoshop Premiere Elements 11 with photo editor and video editor. Since I really have only begun to learn to use the programs, and since I kept getting a message to upgrade now!, I decided to upgrade and learn to use edition 13 from the get-go. What I ordered was Photoshop Elements 13..order nbr AD014688152.
    What is happening is that it downloads okay but when it tries to open in Elements 11 I get the error message that it can't load, wrong type of file.
    My computer op system is Microsoft Windows 8.1 (64-bit). I know I downloaded the 64-bit and not 32-bit. 
    Perhaps I ordered the wrong upgrade?
    I appreciate your help . Let me know if you need additional info.
    Fred Hoerauf
    Sent from my iPad

Maybe you are looking for

  • Report for paid to vendors by cheaqe

    hi all fchn make me to know what all issued cheqes that only assigned with payment document no is there any report make me to know all paid document no and for who paid to even it assign with cheque no by fch5  or not

  • Web service empty relationship problem

    hi all, I have a pretty simple web service. Two entities, a citizen and a business. A citizen is able to register 0..n businesses. There is a WS which reads the citizen. When the business key list in citizen is empty the web service wont return the c

  • TS3274 can I keep my old Ipad with the same name?

    I bought a new Ipad 3rd Gen and are using my same AT&T account for 3G.  My wife wants to continue using my old one, I restored via I cloud to set up my new one like the old one.  Are we sharing the AT&T account now?

  • How do I set the Time of Day that a sync will occur?

    Like a lot of Aussies I have an ISP plan that has Peak/Off-Peak hours. What I want to do is have my iTunes do all it's sync/podcast updates at a certain time (say 4AM) when I'm not doing anything else, it's taken from my Off-Peak monthly usage total

  • Stopping Workflow from backend?

    Hi is there a way to stop the workflow from running? So that all workflow processes are halted. Which job, process, etc would I have to stop, delete, etc in the DB? And how to start it again? Thanks Remy