wdyjz 发表于 2008-10-3 11:59:57

答案:为什么摄像头不可以使用NI imaqusb driver进行图像采集?

NI-IMAQ for USB Cameras is a free software driver for acquiring images from any DirectShow imaging device into LabVIEW. These devices include USB cameras, webcams, microscopes, scanners, and many consumer-grade imaging products.

http://sine.ni.com/devzone/cda/epd/p/id/5030
但为什么你的USB摄像头不能使用它呢?

并且提示:the setting for this camera are not valid.

原因现在知道了:imaqdirectshow.dll这个文件有问题,NI最早开发的是只支持英文操作系统或者sp1系统,但现在大家用的XP sp2多为中文操作系统,就无法传递字符串函数,需要下载一个支持中文操作系统的dll代替这个dll文件,然后就可以了。
到此贴可以下载使用。
http://forums.ni.com/ni/board/message?board.id=170&thread.id=154541&view=by_date_ascending&page=5

wdyjz 发表于 2008-10-3 12:00:23

文件名: imaq_usb_installer_setup.exe
要求: View

NI-IMAQ for USB Cameras is a free software driver for acquiring images from any DirectShow imaging device into LabVIEW. These devices include USB cameras, webcams, microscopes, scanners, and many consumer-grade imaging products. With the driver, users can configure their device, and acquire images into LabVIEW. When combined with the NI Vision Development Module (which is included in the LabVIEW Student Addition) students, professors, and academic professionals can analyze images with hundreds of functions for image processing, including filters, binary morphology, pattern matching, and color inspection. The NI Vision Development Module also includes the Vision Assistant for prototyping different functions, benchmarking inspections, and automatically generating code.

With NI-IMAQ for USB Cameras, you can:
- Acquire images from any USB imaging device with DirectShow support
- Choose between one-shot or continuous image acquisition
- Configure cameras programmatically (now includes the ability to programmatically select video modes without a popup dialog)
- Acquire directly into Vision Assistant for easy application prototyping
- Quickly acquire images with one VI using the USB Express VI

Please note that while NI-IMAQ for USB Cameras comes with complete documentation, it is not officially supported by National Instruments.

System Requirements:
- Windows 2000/XP (English, Italian, Japanese, French, Italian, Norwegian, Dutch, Spanish/Portuguese, Russian, and simple Chinese)
- LabVIEW 7.0 or higher with NI Vision 7.1 or higher for the USB LabVIEW support
- Vision Assistant 7.1 or higher for the USB Vision Assistant plugin module
- Vision Assistant 8.0 or higher for the USB Express VI

Known Issues:
- This driver only supports acquiring from one USB camera at a single time
- Opening and closing a camera session causes a small memory leak, so it is not recommended to do this repeatedly
- Pressing the Abort button in LabVIEW without closing the session properly can cause unexpected behavior
- Using an external image display window on a dual processor machine or hyper threaded machine can cause a hang when moving or clicking on the external display window

wdyjz 发表于 2008-10-3 12:01:13

Here's the Simple Chinese fix...let me know how it works for you.


http://forums.ni.com/ni/attachments/ni/170/164690/1/ImaqDirectShowDll.zip
http://forums.ni.com/ni/board/message?board.id=170&thread.id=154541&view=by_date_ascending&page=4

ImaqDirectShowDll.zip (27 kb)

[ 本帖最后由 wdyjz 于 2008-10-3 12:02 编辑 ]

wdyjz 发表于 2008-10-5 21:05:34

想用NI vision进行普通usb摄像头图像采集进行数据分析的朋友们可以好好的看看,学习使用!

wdyjz 发表于 2008-10-6 10:26:44

NI Vision 8.2.1 Acquisition Software
软件简介—SoftWare Description: NI Vision 8.2.1 Acquisition Software 图像采集

NI图像采集软件可支持数千种摄像头,包括火线和千兆级以太网摄像头。它还包括采集、保存并显示图像所需的所有工具。使用一整套简单易用的函数及例程, 您可以在NI LabVIEW, NI LabWindows/CVI, Visual Studio .NET, C, 或Visual Basic环境中创建视觉应用程序。NI视觉采集软件包括在所有的NI图像采集设备中,也包含在NI视觉开发模块和Vision Builder AI软件中。同时NI视觉采集软件也可以单买,用于不需要图像分析或专门硬件的安全和监控应用系统中。 包含在所有NI Vision图像采集卡和IEEE 1394界面驱动与LabVIEW、C/C++、Visual Basic和.NET兼容支持NI图像采集卡、IEEE 1394和GigE Vision摄像头可以从数千种不同的摄像头中采集、保存并显示图像包含在NI视觉开发模块以及Vision Builder AI软件中

wdyjz 发表于 2008-10-6 10:27:05

http://www.jztsoft.com/soft/show.asp?id=1844

wdyjz 发表于 2008-10-6 15:00:08

dll下载,然后放到system32下,覆盖已经有的同名文件。

shitli 发表于 2008-10-7 19:57:21

很好!!allqq-mogudiandian-34all

satage 发表于 2008-10-7 21:15:24

wdyjz
无比强悍阿

yili 发表于 2008-10-7 22:05:43

8.6的也不支持马?明天先试一下

wdyjz 发表于 2008-10-8 20:58:01

8.6的也不支持,必须下载这个多国语言版的dll。

wdyjz 发表于 2008-10-8 20:59:06

对了,现在的imaqusb setup还没有最新的版本支持LabVIEW8.6和中文操作系统,如果要使用,必须下载这个dll覆盖于system32文件夹下。

wdyjz 发表于 2008-10-20 15:10:40

Filename: ni_imaq_usb_installer_86.exe
Requirements: View

NI-IMAQ for USB Cameras driver software allows users to configure any DirectShow imaging device and acquire images into LabVIEW. Devices thatsupport this feature include USB cameras, webcams, microscopes, scanners, and many consumer-grade imaging products. Students and academic professionals can use this software with the NI Vision Development Module (included in the LabVIEW Student Addition) to analyze images with the aid of functions for image processing, including filters, binary morphology, pattern matching, and color inspection. The NI Vision Development Module also includes Vision Assistant for prototyping different functions, benchmarking inspections, and automatically generating code.

With NI-IMAQ for USB Cameras, you can:
- Acquire images from any USB imaging device with DirectShow support
- Select One-Shot or Continuous Image Acquisition modes
- Configure cameras programmatically, including the ability to programmatically select video modes
- Acquire directly into Vision Assistant for easy application prototyping
- Use the USB Express VI to quickly acquire images

Note: Although NI-IMAQ for USB Cameras comes withdocumentation, it is not officially supported by the National Instruments Corp.

System Requirements:
- Windows Microsoft Windows Vista/Vista x64/XP/2000(English, Italian, Japanese, French, Italian, Norwegian, Dutch, Spanish/Portuguese, Russian, or simple Chinese).
- LabVIEW 7.0 or later.
- NI Vision Acquisition Software 7.1 or later, for USB LabVIEW support.
- Vision Assistant 7.1 or later, forUSB Vision Assistant plug-in module support.
- Vision Assistant 8.0 or later, for USB Express VI support.

Known Issues:
- NI-IMAQ for USB Cameras only supports a single acquisition from one device at a time.
- Launching and closing camera sessions repeatedly will cause a minor memory leak.
- Exiting LabVIEW without closing the session properly will cause a system failure.
- Using an external image display window on a dual-processor machine or hyper-threaded machine may cause the computer to freeze when moving or clicking the external display window.

Related Links:
Requirements for Computer Running an EXE Using NI-IMAQ For USB Functions

Requirements

Filename: ni_imaq_usb_installer_86.exe

Software Requirements

Language(s): LabVIEW




Hardware Requirements

Hardware Group: Vision (IMAQ)
Driver: NI-IMAQ for USB Cameras 1.0




35 ratings | 3.11 out of 5 Print
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).

wdyjz 发表于 2008-10-20 15:11:05

http://zone.ni.com/devzone/cda/epd/p/id/5030
ni_imaq_usb_installer_86.exe

njq 发表于 2008-10-23 21:35:52

用PC串口与三菱J3-A通迅,控制伺服电机起停,速度调整,有这方面的例题吗?请版主指点指点!谢谢
页: [1] 2 3
查看完整版本: 答案:为什么摄像头不可以使用NI imaqusb driver进行图像采集?