cpubbs论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 14505|回复: 43

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

[复制链接]
发表于 2008-10-3 11:59:57 | 显示全部楼层 |阅读模式
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
 楼主| 发表于 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
 楼主| 发表于 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 编辑 ]
 楼主| 发表于 2008-10-5 21:05:34 | 显示全部楼层
想用NI vision进行普通usb摄像头图像采集进行数据分析的朋友们可以好好的看看,学习使用!
 楼主| 发表于 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软件中
 楼主| 发表于 2008-10-6 10:27:05 | 显示全部楼层
 楼主| 发表于 2008-10-6 15:00:08 | 显示全部楼层
dll下载,然后放到system32下,覆盖已经有的同名文件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2008-10-7 19:57:21 | 显示全部楼层
发表于 2008-10-7 21:15:24 | 显示全部楼层
发表于 2008-10-7 22:05:43 | 显示全部楼层
 楼主| 发表于 2008-10-8 20:58:01 | 显示全部楼层
8.6的也不支持,必须下载这个多国语言版的dll。
 楼主| 发表于 2008-10-8 20:59:06 | 显示全部楼层
对了,现在的imaqusb setup还没有最新的版本支持LabVIEW8.6和中文操作系统,如果要使用,必须下载这个dll覆盖于system32文件夹下。
 楼主| 发表于 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 that  support 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 with  documentation, 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, for  USB 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/).
 楼主| 发表于 2008-10-20 15:11:05 | 显示全部楼层
发表于 2008-10-23 21:35:52 | 显示全部楼层
用PC串口与三菱J3-A通迅,控制伺服电机起停,速度调整,有这方面的例题吗?请版主指点指点!谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2025-4-4 02:48 , Processed in 1.431838 second(s), 7 queries , Gzip On, File On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表