Quantcast
Viewing all articles
Browse latest Browse all 5359

AVI2 license issue

Hi all,

 

I am using Labwindows/CVI 2017 to capture video and save them into a *.avi file. 

 

When I use the imaqCreateAVI and the imaqWriteAVIFrame functions, the program goes well and generate a movie.avi file. 

The code is:

aviSession = imaqCreateAVI("movie.avi", NULL, IMAQ_USE_DEFAULT_QUALITY, 30, 0);

imaqWriteAVIFrame (image, aviSession, NULL, 0);

 

However, I cannot open the saved movie.avi file with the Windows Media Player with the message "Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file."

 

So I tried the AVI2 functions as:

avi2Session = imaqCreateAVI2("movie2.avi", NULL, IMAQ_USE_DEFAULT_QUALITY, 30);

imaqWriteAVIFrame2 (image, avi2Session);

 

but the following error occurred. 

NON-FATAL RUN-TIME ERROR: "FullSystem.c", line 84, col 27, thread id 5964: Function imaqCreateAVI2: (errorCode == -1074396157 [0xbff60403]). Unlicensed copy of NI Vision Development Module or NI Vision Runtime.

 

I am wondering if the AVI2 functions run on the same license as the AVI functions? Why I can use AVI functions but not AVI2 functions?

 

I have the full development system and the Vision Acquisition software licenses. 

Image may be NSFW.
Clik here to view.
Image 2.png

 

Any suggestions are appreciated. 

 


Viewing all articles
Browse latest Browse all 5359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>