03-25-2015 06:06 AM
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
03-25-2015 11:30 PM
Hi,
Any workaround on the above problem.
with regards,
sri
04-14-2015 04:00 AM - edited 04-14-2015 04:05 AM
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?
04-18-2017 03:51 AM
Hello Sir ,
Your block diagram is Labview example right ? I'm doing the same thing. Did you fix it. If yes can you share information.
Thanks.