Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI_readWriteAVI pci 1411 error code -1074397150

I am using downloaded vi library named "NI_readWriteAVI" but I keep getting an error box that says:

Debug Error!
Program: c:\program files\National Insruments\Labview 6.1\labview.exe
Damage after Normal block(#35) at 0x03740068

I have traced it down to call library function node in the sub vi named: "AVI_init_Write.vi" but I don't know what to do now. HELP!
0 Kudos
Message 1 of 6
(3,560 Views)
There shouldn't be any errors in the dll linked in the call library function node - there are many other people who have successfully used this example program. I would try downloading the VI again
(http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F10B56A4E034080020E74861&p_node=DZ52506&p_submitted=N&p_rank=&p_answer=&p_source=External)

Also make sure that you have at least LabVIEW 6.0, Vision 6.0 and NI-IMAQ 2.0.

Good luck -
Julie S.
0 Kudos
Message 2 of 6
(3,560 Views)

My first suggestion is to upgrade to IMAQ 2.6. IMAQ 2.6 includes VIs for writing uncompressed AVIs. It is a much nicer interface than what was used in that example, and less buggy. 

0 Kudos
Message 3 of 6
(3,560 Views)
Do you have any other suggestions? I have already re-downloaded the vi and still have the same problem. On this computer, I have LabVIEW 6.1, IMAQ 2.6, and I'm not sure which version of Vision I have.

On a different computer, I have LabVIEW 7.0, IMAQ 2.6, IMAQ Vision Builder, IMAQ Vision Developer, and the latest device drivers. And this newly downloaded example immediately gives the error that I have connected terminals of different types in the "AVI_Write.vi". Does the AVI read Write example work with LabVIEW 7.0?

On each computer I have a PCI-1411. I need some help getting this AVI writer to work.
0 Kudos
Message 4 of 6
(3,560 Views)
Since you have IMAQ 2.6, check out the AVI read and write VIs that come with the driver. As Dustin mentioned, they should work better than the downloaded example. There is a new image datatype in LabVIEW 7.0, so that is why you are getting the error about connecting terminals of different types. You can use the Convert VI if you need to use the old example program.
Hope this helps.
0 Kudos
Message 5 of 6
(3,560 Views)
IMAQ 2.6 is great! Thanks for the tip.

Is there any way to compress the AVI in LabVIEW or is it better to use DivX?
0 Kudos
Message 6 of 6
(3,560 Views)