Where Can I Find Details on IMAQ or Vision Error Codes?

Updated Dec 13, 2017

Reported In

Software

  • Vision Development Module

Driver

  • NI-IMAQ
  • NI-IMAQdx
  • IMAQ Vision
  • NI-IMAQ for IEEE 1394 Cameras 2.0

Issue Details

I am receiving an error from my program that includes IMAQ and Vision functions, but the error does not include a detailed description of what the error means. I can not find a lot of information about the IMAQ or Vision error codes. Where can I find more detailed information about my IMAQ or Vision errors?

Solution

You can find basic information on any LabVIEW error by going to Help»Explain Error... Entering an error code will return the message that goes with this error.

For NI-IMAQ, NI-IMAQdx, NI-IMAQ for IEEE 1394, and Vision you can also find information about an error in the header file (or include file). You can also find a description of the error in the help documentation for NI-IMAQ, NI-IMAQdx, NI-IMAQ for IEEE 1394, or Vision. There are also Knowledge articles on the NI website that you can find by searching for your error code at ni.com. Below is a list of where you can find further information about the error codes, examples of the different errors you might receive, and a range of the different error types:

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
  • Example:
(-1074397137) IMG_ERR_NEPK: No pixel clock detected from camera
  • Range:
[-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
  • Example:
(-1074360286) IMAQdxErrorFormat7Parameters: For format 7: The combination of speed, image position, image size, and color coding is incorrect.
  • Range:
[-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
  • Example:
(0xBFF68025) IMG_ERR_NEPK: Camera is already in use
  • Range:
[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
  • Example:
LabVIEW: (-1074396077) ERR_INCOMP_TYPE - Incompatible image type
VB: (Error 31083) ERR_INCOMP_TYPE - Incompatible image type
  • Range:
LabVIEW: [-1074396160 through -1074395233] or [0xBFF60400 through 0xBFF6079F]
VB: [30200 through 31927]