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

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?

  • 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

  • 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

  • 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 - 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

  • "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.

  • Possible reasons for error 1074396005 invalid avi session

    Dear All,
    I am working on creating and writing frames on to AVI files. I need to start writing frames up on record on command and close the AVI file up on record stop command. I am trying to read frames from an recorded video and write in to another AVI file.
    But i am observing Error 1074396005 invalid avi session, whenever i run the code. I am using AVI2 VI's (IMAQ AVI2 Create, AVI2 Write and AVI2 close).
    I am using LabVIEW 2013 SP1 and Vision development module versions.
    Below is the block diagram for reading an avi file and writing in to avi file upon record on command (numeric control value 1 to case selector) 
    Block diagram for record off
    Below is the error observed:
    Kindly suggest what would be the possible reason for the error.
    With regards,
    Sri
    Attachments:
    Block diagram1.PNG ‏59 KB
    avi2 error2.png ‏381 KB
    Block diagram2.PNG ‏20 KB

    Might be good if you can post the code instead of screenshots.
    -If session was closed or aborted due to some reason you should get this error.
    -Multiple times you are creating the session inside the loop with same avi session, is it required?
    -Are the images added to the avi file?
    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

  • 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?

  • Error: File "x.avi" cannot be opened (86::1)

    I've started using a new camera to record some footage and it saves videos in an .avi format with the H.264 codec.
    Everytime I try to import footage from the camera I get an error message saying 'After Effects error: File "X.avi" cannot be opened, it may be in an unsupported format ( 86::1 ).
    I use After Effects CC and this problem has never occured before. I have tried videos with both 1920x1080 and 1280x720 resolutions and the error still comes up. Converting the footage to another format works but slightly lowers the frame rate and sometimes messes up audio.
    Please Help

    Todd_Kopriva wrote:
    Can you play these .avi movies with this H.264 variant using media players on your computer, such as QuickTime Player or Windows Media Player?
    I can play them on all media players except from Quicktime which doesn't usually support AVI playback.

Maybe you are looking for

  • Need help in writing a vbscript

    Hi, I need help in wring a vbscript. I have serached for the vbscript on the net, but could not find any. I need to add a file to an msi using vbscript. - That's the requirement. For this I have done the following with the help of vbscript. 1. With t

  • Itunes 8 won't recognize my ipod.  Can anyone help?

    After downloading and installing Itunes 8, my ipod will not connect to itunes. Instead, the ipod is recognized as the computer automatically brings up the ipod as a Windows F-drive search. It also shows that there is an ipod control error message tha

  • Issues after update MBP to 10.7.2

    three issues: 1) before updating my MBP 2010 directly boots into desktop, now I have to enter password. But I have t wait at least 3 minutes before the keyboard i working in the password box. After entering the password the screen goes black for 10 s

  • Organisation struture assignments

    Hi Folks, I have a requirement in relation with the service org structure. The client has many service org  and that operate in different service activities and hence the need to report on these various aspects. Bacause of which  there is a need to s

  • COPA without COPC

    Hello, I am customizing an account based profitability analysis. I don't want to implement COPC module and I don't have costing data in the material master. Is it neccessary to do any customizing in: Controlling --> Profitability analysis --> Master