NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Elise25
Posts: 4
0 Kudos

What does the IMAQdx "Internal error" mean?

In general, what does the IMAQdx "Internal Error" mean, and how should this be debugged?  I am getting this error when controlling a camera using C++ and the IMAQdx library, and am not sure how to figure out what is going wrong.  Thanks for any input.

Member
Wee-Bey
Posts: 173
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

Hi there!

 

Is there anything else that comes with the internal error, or do you have an idea of exactly what function is producing the error message? These will likely factor into why the internal error is coming from.

Ravi A.
National Instruments | Applications Engineer
Member
Elise25
Posts: 4
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

Hi Ravi,

 

Thanks for your reply.  I was getting the error when using the IMAQdxConfigureAcquisition function in a Qt program.  Using the same camera in a separate C++ program, I get IMAQdxErrorSuccess from the same function, so I know its not an issue with the camera itself.  Although I found the page in the IMAQdx help about the error codes, many of the error descriptions, such as "internal error", don't really help much with figuring out how to fix the problem.  So, if you could provide any insight, that would be great.

Thank you!

Elise 

 

Active Participant
BlueCheese
Posts: 1,018
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

What sort of camera are you using?

 

The two most likely possibilities I can think of:

 

- You might be using a camera that relies on other external software/drivers (like most DirectShow cameras) and perhaps there is something being loaded in your process (perhaps via Qt, for instance, since you mentioned it) that is somehow conflicting with the camera drivers.

 

- Your porgram might be corrupting memory or the stack and causing IMAQdx to get into a bad state.

 

Eric

Member
Elise25
Posts: 4
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

Hi Eric,

Thanks for your reply.  This error comes up with 3 different firewire cameras, all of which come up as "National Instruments IMAQ Interfaces: NI-IMAQdx IIDC Digital Camera" devices in the computer's device manager. Using the same Qt program, I can actually use a USB camera (DirectShow) with no issues (IMAQdxConfigureAcquisition, IMAQdxStartAcquisition, IMAQdxGetImageData, etc. with IMAQdxErrorSuccess).  I will look into your suggestions about conflicts with the camera drivers and memory corruption. Let me know if you think of anything else.
Thanks,

Elise

 

Active Participant
BlueCheese
Posts: 1,018
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

[ Edited ]

Do you see the same error in MAX? Since you are using an IIDC FireWire camera with NI's driver then there should be no other drivers loaded by the camera in that process.

 

Eric

Member
Elise25
Posts: 4
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

No, I don't have any errors in MAX or LabVIEW.  So, it sounds like the IMAQdx "internal error" doesn't have a specific indication? 

Elise

Active Participant
BlueCheese
Posts: 1,018
0 Kudos

Re: What does the IMAQdx "Internal error" mean?

Not generally; it generally means there was some unexpected error that should not occur. Are you changing any camera settings differently in your app vs MAX? Could you try posting a small section of code that can reproduce this error? Maybe something will be obvious there.... Eric
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page