IMAQ AVI read frame error

Hello,
What does the IMAQ AVI read frame error "Trigger Time out" mean ?
Thank you.

Hello Vanessa,
In some applications, when a trigger occurs after several minutes or when integration takes several seconds, the timeout parameter may be too small to wait the amount of time it takes to acquire an image. If the image you request is not ready by the timeout parameter, the acquisition code generates a timeout error.
To prevent this problem, check the acquisition status and request an image only when you know one is ready. By just checking the acquisition status and not requesting an image, you could wait indefinitely for an image without receiving an error.
Sanaa TAZI
Application Engineer
National Instruments

Similar Messages

  • Error -1074395975 occurred at IMAQ AVI Read Frame DirectX has timed out readin

    When i run the "Read AVI Example" on every kind of AVI file, I get the error:
    Error -1074395975 occurred at IMAQ AVI Read Frame DirectX has timed out reading or writing the AVI file. When closing an AVI file, try adding an additional delay. When reading an AVI file, try reducing CPU and disk load.

    The forums search gives two threads talking about this error:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=392042&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=195832
    Did you allready had a look at them?

  • Error en IMAQ AVI Read Frame

    saludos al foro...
    alguien me puede ayudar con el error-1074395975 ocurred at imaq avi read frame.
    tengo labview 2011
    ni vision 2011
    ni vision assistant 2011
    directx11
    adjunto una imagen del diagrama a bloques y el mensaje de error
    gracias
    ¡Resuelto!
    Ir a solución.
    Adjuntos:
    imagen.png ‏39 KB

    vicbit ....tal vez se podría revisar un  ejemplo para la versión 2013 que podría servir ...... llamado "Read AVI File.VI" que se encuentra en la ayuda.....  como menciona Omar las funciones relacionadas con el manejos de archivos AVI, fueron cambiados en la ultimas versiones asi que saldrá un poco diferente o tal vez el ejemplo no se encuentre . Yo pienso que el truco radica en el uso adecuado de los " Frames per Second" ,"Number de frames"  y el "time Delay".
    Algo que observe en los códigos que han subido anteriormente es que no  es necesario usar dentro del ciclo la funcion "Imaq Create"  ya que va a crear un espacio en memoria cada vez que se ejecuta un ciclo (Cada frame) esto no es necesario y podria afectar ,  además no se estan liberando estos espacios  con "Imaq Dispose VI".
    A continuacion la imagen del ejemplo que se encuentra en la versión 2013
    en la versión 2010 se puede encontrar ejemplos también-->https://decibel.ni.com/content/docs/DOC-14904
    Jonathan Cruz
    CHALLENGER
    K U D O S __ B I E N V E N I D O S

  • IMAQ AVI Read Frame vs. IMAQ AVI2 Read Frame, no data terminal

    Hi,
    I just noticed when dropping a IMAQ AVI2 Read Frame vi in place of an older IMAQ AVI Read Frame vi, there is no "data out" terminal.  I do make use of this feature to add data to the frames of the AVI.  Is there supposed to be an alternative way to store this frame data, using the imaq image custom info perhaps?  

    Hello David,
    You are correct in that the data out terminal is no longer available in the AVI2 functions. However you can use the IMAQ Read Custom Data and IMAQ Write Custom Data functions. These allow you to write and read custom data to the IMAQ images using specified keys. In this way you can add miscellaneous data to your images for later use.
    Earl C
    Applications Engineer
    National Instruments

  • IMAQ AVI read frame performanc​e

    I've been playing around with the read AVI with buffer example in the Developer Community.  It reads all the frames of an AVI into memory and then plays them back at the appropriate frame rate.  This works ok with very small AVI files but with anything larger it gets slower and slower until it almost stops loading the AVI.  At that point it seems to be loading less than 5 frames per second and is killing my cpu.  I have plenty of free RAM during this.     
    https://decibel.ni.com/content/docs/DOC-8479
    This is the case with the play AVI example that comes with Labview too (without a buffer) which just loads and plays one frame at a time.  Can someone suggest a way to improve the performance of an AVI player in Labview?  My ultimate goal is to read an AVI and detect changes in motion of objects by comparing two frames at a time.  These AVIs are going to be at least 5 minutes in duration at a frame rate of 30 fps.
    I'm using Labview 2009 with the Vision Developer installed.
    Attachments:
    image_png.png ‏77 KB

    VTKim wrote:
    Hi,
    One thing we could implement is a compression filter that is on the IMAQ AVI Create VI used in conjunction with the IMAQ AVI Get Filter Names VI.  Also, what is the RAM available on your computer and what size images are you acquiring and saving to AVI?  Thanks!
    Kim
    Thanks for replying.  I'm running labview 2009 on a dual core pentium 2.3 GHz with 4 Gigs of ram.  It typically has 2 Gigs free while running the program.
    I'm not tryingt write an AVI, I'm trying to read an AVI.  The frames are 352 x 240 in size.  I've tried several read AVI examples and they all act the same way.  They slow down quickly and the hard drive and CPU are really cranking away.

  • IMAQ AVI Read Frame Trigger Error

    I have an application that is creating avi clips of a process.  This application is writing frame data which is read later in another application.  It is at this point, during the reading of the data that an Error -1074396037 Trigger error is occuring.  I am using IMAQ Vision 7.0 and Labview 7.0.  Attached is an avi that was created. It consists of a total of 75 frames.  Also attached is a simplified version of the frame read part of my application.  When reading the frame data I get the error at frames 36 and 51.
    I was hoping somebody could have a look and see why I am getting the error.
    Terry Sopkow
    Sr. Reseach Technologist
    Oilphase-DBR
    Attachments:
    ReadFrame.zip ‏596 KB

    Hi Terry,
    I ran your program with your video and got error 1074395975 DirectX has timed out reading the avi file.  I do not think there is anything wrong with your program because I ran your program with a different avi file and it worked perfectly.  I also ran the shipping example Read AVI Example.vi with your video and got the same timeout error.
    So there must be something wrong with your avi file.  Perhaps frames 36 and 51 are missing or corrupt for some reason.  Try creating the avi file again and see if you still have the same problem.  If you do, then we'll have to investigate the problem with the creation of the file.
    Christopher W.
    Application Engineer
    National Instruments

  • Imaq erreur avi read frame

    Voici l'erreur que j'ai sur mon VI si vous pouvez me renseigner se seraiat cool merci.
    L'erreur -1074396010 s'est produite à : IMAQ AVI Read Frame
    Solved!
    Go to Solution.

    Bonjour,
    Cette erreur a été corrigé dans la version 2012 SP1 (12.1) du logiciel.
    Je suppose que vous avez une version antérieure ?
    Cordialement,
    Maxime G. | Application Engineer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • IMAQ AVI - What is "frame read lookahead"?

    Hi,
    I'm using The IMAQ AVI Read Frame function, and just wondering what the "frame read lookahead" input actually does. The documentation is very vague.
    Thanks

    What is vague about it? What additional information do you need?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Read AVI Example.vi error #107439597​5

    I was trying to run the  Read AVI Example.vi with those avi files shipped within Vision package. But no success.
    While the CompressorComparison.avi showed "Error -1074395993 occurred at IMAQ AVI Open File I/O error.", all the others stated "Error -1074395975 occurred at IMAQ AVI Read Frame   DirectX has timed out reading or writing the AVI file.  When closing an AVI file, try adding an additional delay.  When reading an AVI file, try reducing CPU and disk load."
    Howerver, from windows task manager, my cpu usage never exceeded 20% and I have two in my computer.

    Dear Mr.Vivek,
    That did not help.
    I am using vision 8.6.4.
    I use a webcam and capture images to avi.
    Then I open the avi and check the number of frames.Up to this point ,everything works fine.
    But if I want to extract a frame out of this avi,the following error comes.
    "Error -1074395975 occurred at IMAQ AVI Read Frame
      DirectX has timed out reading or writing the AVI file.  When closing an AVI file, try adding an additional delay.  When reading an AVI file, try reducing CPU and disk load."
    I am stuck with this and can you please help me.I have attached the read avi file.
    This error comes even when I use the example file in the library with the avi files provided by labview.
    Thanks and regards 
    Attachments:
    ReadAVIFrames.vi ‏41 KB

  • "IMAQ AVI Create" not found under menuitem "AVI" (IMAQ 2.6)

    Does anyone know why the Libs. "IMAQ AVI Create ,IMAQ AVI Open ,IMAQ AVI Read Frame ,IMAQ AVI Get Filter Names" are not located in the "AVI" menu ? (IMAQ 2.6)
    Thanks Mario

    The AVI VIs should be located there, if they are not there was probably a problem with your installation. Launch the installer again by going to Add/Remove Programs and selecting National Instruments Software. From there another menu will open showing most of your NI software. Select on NI-IMAQ 2.6 and select modify. Double check that support for your version of LabVIEW is selected, and proceed with the rest of the install. If you are still having problems, I suggest calling going to www.ni.com/support and getting a hold of NI Tech support.

  • Reading frames in avi files

    When reading large AVI files, I get an error when trying to read frame 870 or higher: 
    Error -1074395967 occurred at IMAQ AVI2 Read Frame
    Possible reason(s):
    IMAQ Vision: (Hex 0xBFF604C1) Error reading AVI frame
    Is this a limitation of the system? I have the problem even when using the AVI read example.
    Solved!
    Go to Solution.

    I have to disagree. I do not use old functions. The test program is very simple (see the picture). But video contains over 60,000 images (640x480, 8-bit grayscale, no compression). This example hangs on image 3474.

  • IMAQ Read File error -1074396159

    Hi NI,
    I am getting "IMAQ Read File" error -1074396159 when trying to read a large image.  I get this error when trying to read a ~400MB image on a very clean (not many extraneous applications) Windows 7 computer with 4GB or RAM.  I tried this on two other not very clean Windows 7 computers with 4GB of RAM and 2GB of RAM respectively.  On the latter two computers I do not get this error.  I found this knowledgebase which explains one possible cause of this error.  Are there any other causes for this error?  Are there any workarounds?
    Thanks,
    Jonathan-LV

    That KB is incorrect, as the memory only needs to be virtually contiguous inside the process address space, not physically contiguous in RAM. This is not affected by how many programs are loaded (with the very slight exception that some read-only pages of DLLs can be shared cross-process in certain cases). This is really a function of how fragmented the memory space is in the process itself. The problem is that a normal 32-bit app on 32-bit Windows only has 2GB of virtual memory space. 500MB is 25% of the entire space. DLLs tend to get loaded scattered throughout the memory space for various reasons and other memory allocations that have different lifetimes cause fragmentation. The number of multi-hundred-MB chunks available is very small in a large app like LabVIEW.
    Some options to help:
    -Moving to a 64-bit OS (still using 32-bit LabVIEW) will change that 2GB address space to 4GB with no changes to your app
    -Moving to both a 64-bit OS plus 64-bit LabVIEW will change that 4GB address space to 8TB (virtually unlimited)
    Eric

  • MPEG Streamclip 1.8  error message "can't read frame size"

    I receive message "Error: cant read frame size" after importing a QuickTime Movie file into MPEG Streamclip and choosing File-> Export to QuickTime as suggested in another forum to resolve the problem of no sound when importing a still camera QuickTime Movie file like the following into iMovie.
    (MPEG Streamclip imports the sound but no video.)
    Bottom line, how do I get the video and sound together in iMovie or Final Cut Express?
    Stream: Louie&Sarful 3345.mov
    Path: ~/Movies/Sarful & Louie/Louie&Sarful 3345.mov
    Type: MPEG elementary stream
    Duration: 0:00:53
    Data Size: 0.49 MB
    Bit Rate: 0.08 Mbps
    Video Tracks:
    DV/DVCPRO - NTSC, 720 × 480, 29.97 fps, 28.77 Mbps
    Audio Tracks:
    192 MP2 mono, 32 kHz, 64 kbps
    Stream Files:
    Louie&Sarful 3345.mov (2.13 MB)
    I'm trying to resolve the problem of no sound when importing/opening still camera movie files like this into iMovie or Final Cut Express.
    iMac5,1 IC2D   Mac OS X (10.4.8)   1 GB 2.16 GHZ

    Ref Bottom Line
    Solved my problem by opening the file in MPEG Streamclip and choosing Demux to AIFF and saving the AIFF file to the same folder as the original, then drag the AIFF file to the sound track in iMovie and the original file to the video track.
    iMac5,1 IC2D   Mac OS X (10.4.8)   1 GB 2.16 GHZ

  • Imaq avi get info do not retrieve any info

    Hi everyone, 
    I have some trouble with the vision VI IMAQ AVI get info, 
    everything was working well then I don't know what happened but the VI does not retrieve any information on any files, and I get the following error:
    Error -1074395993 occurred at IMAQ AVI Open
    Possible reason(s):
    IMAQ Vision: File I/O error.
    I need the framerate, Width, height and number of frame from this VI or else I cannot develop my application.
    it only returns 0 on all values but the number of frames which is not correct 4294967295
    I am thinking I might have broken the vision library.
    Thanks for your help.

    Sorry for the multiple message,
    I have found why it did not work it was not the imaq get file info but the IMAQ AVI Open VI that does not like the path string given by the open/Create/Replace File VI.
    If you have any idea why it would be appreciated.
    Thanks.
    Attachments:
    Open Avi.vi ‏22 KB

  • Problems using AVI read/write example

    I would like to test some vision processing software I wrote by reading an AVI file rather than a live stream. I found the "AVI read/write example" mentioned on this forum and it sounds like exactly what i need, but I cannot get it to read my avi files. When I run the example read VI, it says "An exception occured with the external code called by a call library node". Doing further testing, I found one AVI on my computer that would work, all others crash the VI. Another odd behavior is that the "avi init read" subvi will return the wrong frame rate for some AVIs. I have tried both compressed and uncompressed AVIs all in RGB format. I have also tried different frame rates and encoding options for my AVI file with no luck. I am just a stud
    ent, so buying software is not an option for me.
    Has anyone had problems reading AVIs with this? Are there AVI encoding options that will make this VI work?

    Hello,
    I think the avi functions that you get are VFW based, it can not read
    any format of compression codec. But it should be able to read
    uncompressed AVI files. But anyway, if you can't get IMAQ-vision 7.0
    avi functions to try (I don't have, I don't know how it works), you
    can always get my IVision to try out. In IVision, there are two groups
    of avi functions. One is called "AVI functions", they are VFW based,
    so not always work for all kind compressed avi files, but I have
    another group called "Media files", the functions there work for all
    format compressed AVI files, including mpeg, asf, avi... you can
    access the frame image by using a callback vi (example included), seek
    the media position, change play rate, etc.
    Go to get a download at:
    http://www.hytekautomatio
    n.com/Products/IVision.html
    Irene
    excube wrote in message news:<50650000000800000028B00000-1068850981000@exc​hange.ni.com>...
    > I would like to test some vision processing software I wrote by
    > reading an AVI file rather than a live stream. I found the "AVI
    > read/write example" mentioned on this forum and it sounds like exactly
    > what i need, but I cannot get it to read my avi files. When I run the
    > example read VI, it says "An exception occured with the external code
    > called by a call library node". Doing further testing, I found one AVI
    > on my computer that would work, all others crash the VI. Another odd
    > behavior is that the "avi init read" subvi will return the wrong frame
    > rate for some AVIs. I have tried both compressed and uncompressed AVIs
    > all in RGB format. I have also tried different frame rates and
    > encoding options for my AVI file with no luck. I am just a student, so
    > buying software is not an option for me.
    >
    > Has anyone had problems reading AVIs
    with this? Are there AVI encoding
    > options that will make this VI work?

Maybe you are looking for