哪里可以找到IMAQ和Vision的错误代码详细信息?
问题:我在使用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
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
[*]范围:
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
VB:
太棒了,下载学习了! 支持石鑫华视觉http://shixinhua.com,支持东莞华视自动化科技有限公司http://visionbbs.com。 机器视觉,专业的石鑫华视觉http://shixinhua.com,专业的机器视觉论坛http://visionbbs.com
页:
[1]