哪里可以找到IMAQ和Vision的错误代码详细信息?
主要软件:
主要软件版本: 3.5.1
主要软件修正版本: N/A
次要软件: LabVIEW Toolkits>>LabVIEW IMAQ Vision for LabVIEW, Driver Software>>NI-IMAQ for IEEE-1394
问题: 我在使用IMAQ和Vision模块的程序中发生了错误,但没有信息的关于错误的描述,我也没能找到关于IMAQ和Vision错误代码的详细信息,在哪里可以找到这些信息呢?
解答: 对于NI-IMAQ, NI-IMAQdx, NI-IMAQ for IEEE 1394, 以及Vision,在头文件(或者include文件)中可以找到错误信息,也能在它们的help文档中找到信息的错误信息。下表列出了一系列可以找到错误代码具体信息,以及可能发生错误的例子和错误类型的位置:
NI-IMAQ Errors
- niimaq.h
目录: C:\Program Files\National Instruments\NI-IMAQ\Include
- NI-IMAQ Function Reference Help
目录: C:\Program Files\National Instruments\NI-IMAQ\Docs
- 例子:
(-1074397137) IMG_ERR_NEPK: No pixel clock detected from camera
- 范围:
[-1074396886 through -1074397183] or [0xBFF6012A through 0xBFF60001]
NI-IMAQdx Errors
- niimaqdx.h
目录: C:\Program Files\National Instruments\NI-IMAQdx\Include
- NI-IMAQdx Function Reference Help
目录: C:\Program Files\National Instruments\NI-IMAQdx\Docs
- 例子:
(-1074360286) IMAQdxErrorFormat7Parameters: For format 7: The combination of speed, image position, image size, and color coding is incorrect.
- 范围:
[-1074360320 through -1074360277]
NI-IMAQ for IEEE 1394 Errors
- niimaq1349.h
目录: C:\Program Files\National Instruments\NI-IMAQ for IEEE-1394\include
- NI-IMAQ Function Reference Help
目录: C:\Program Files\National Instruments\NI-IMAQ for IEEE-1394\Docs
- 例子:
(0xBFF68025) IMG_ERR_NEPK: Camera is already in use
- 范围:
[0xBFF68000 through 0xBFF68035]
Vision Errors
- nivision.h
目录: C:\Program Files\National Instruments\Vision\Include
- IMAQ Vision for LabVIEW VI Reference Help
目录: C:\Program Files\National Instruments\Vision
- IMAQ Vision for Visual Basic Reference Help
目录: C:\WINDOWS\system32\cwimaq.chm
- 例子:
LabVIEW: (-1074396077) ERR_INCOMP_TYPE - Incompatible image type
VB: (Error 31083) ERR_INCOMP_TYPE - Incompatible image type
- 范围:
LabVIEW: [-1074396160 through -1074395233] or [0xBFF60400 through 0xBFF6079F]
VB: [30200 through 31927]
相关链接:
附件:
报告日期: 12/21/2005
最近更新: 10/07/2011
文档编号: 3SK8ALHB
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.