Machine Vision

取消
显示结果 
搜索替代 
您的意思是: 

IMAQ Framegrabber Save to AVI

Is there an example of how to save acquired images to an avi file?  According to the help file in the vision suite there is an example but it was not located in the directory.
 
Thanks
 
0 项奖励
1 条消息(共 4 条)
3,770 次查看
Hi Jomile,

Where were you looking for your examples, and what operating system are you using?

In WinXP, IMAQ examples for your acquisition and AVI writing can be found in

For LabVIEW: C:\Program Files\National Instruments\LabVIEW x.x\examples\IMAQ
For C, VB, and .NET: C:\Documents and Settings\All Users\Documents\National Instruments\NI-IMAQ\Examples inside.

If you do not see any examples in the directory for the text-based languages, you may not have your C/VB/.NET examples installed. To install them, you need to modify your NI-IMAQ installation from Control Panel » Add/Remove programs to add the examples. I've posted some instructions to do this in this post. The examples installed will include both high-level and low-level acquisition examples.
0 项奖励
2 条消息(共 4 条)
3,752 次查看

Hi Vijay,

Thank you for your response.  I am using VB.Net and looked in the C:\Documents and Settings\All Users\Documents\National Instruments\NI-IMAQ\Examples\MSVB.NET folder and i see the following example folders.

Getting Started
Triggered Ring
Triggered Sequence
Triggering

Is there a VB.Net example for video acquisition that you are aware of?

Thanks again,
Jomile

0 项奖励
3 条消息(共 4 条)
3,722 次查看
Hi Jomile,
It looks like I only have the same examples listed. However, you might try intalling the Visual Basic examples (not just .NET support) and see if you find anything else that help. I have attached in a zip file the AVI read & write VB.NET examples which come from our Vision Development Module (available for download as an evaluation version) along with the VB function reference.

However, I'm not very familiar with VB, so I don't know exactly how useful the files will be to you. They may not function without the Vision Dev. Module and Measurement Studio software installed, but you may still be able to pick through them and get them to work. Beyond that, I don't know if we have any IMAQ-specific read/write AVI examples for VB or VB.NET which don't utilize NI Vision Development Module. You might also try looking at the following links and see if they help you out.

How Do I Call NI-IMAQ Driver Functions Directly From Visual Basic?

IMAQ Acquisition, Images, and Displaying in Visual Basic

0 项奖励
4 条消息(共 4 条)
3,708 次查看