注册登陆后可查看附件和大图,以及购买相关内容
您需要 登录 才可以下载或查看,没有账号?注册会员
x
问题:我在使用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]
|