Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

QCAM copy.vi error, code 1,

Hi, there. I am using QImaging 1394 CCD camera,  QICam-UV. My LabView is 6.1 with NI-IMAQ 3.0. When I ran the example vi downloaded from the company, got the following error information:
"Driver fault at C:\Program Files\National Instruments\LabVIEW 6.1\user.lib\qcam\QCam.llb\QCAM Copy.vi"

I tracked the error information. It is from the function lvGrabAcquire in CQamLV.dll. 

Function Prototype is:

unsigned long lvGrabAcquire(unsigned long cameraId, unsigned long destinationBuffer, unsigned long bufferSize, unsigned long border, unsigned long format);

When I set the Width of ROI as 520, the return value of lvGrabAcquire is 0, but when I set the width of ROI as 400, for example, lvGrabAcquire gave me 1, the error information.
Is there any one who had the same problem?

PS. I installed the  basic camera driver and the labview interface from QImaging website.



CQ
0 Kudos
Message 1 of 4
(3,834 Views)
Hey attosecondpulse,
 
I have not seen the error you are getting before, but I have not used that camera before either. So here are some suggestions. First, because I am not familiar with the specific camera you are using, I see that it is a 1394 camera, but the software QImaging provides only uses the regular IMAQ driver and not the IMAQ 1394 driver. Maybe somehow they have a driver that can acquire from the camera and use it with LabVIEW, but usually you can use the NI-IMAQ for IEEE 1394 driver to directly acquire into LabVIEW from Firewire cameras. So you could try using the NI-IMAQ for IEEE 1394 driver that NI provides, and see if that works. You can download it from NI's Drivers and Updates page and try it out for a 30-day trial. Another suggestion that I have is to contact QImaging. You said that you downloaded the example and the drivers from their website, so they should be able to answer your questions about the software they provide. The error does not look like it is a native NI error, so if you contact them, they might be able to answer your questions, and help you get up and running with their software and camera.
 
I hope this helps. If you do find out more from QImaging about this error, please post the solution, so that others who might experience this error will be able to find a solution quickly. Let me know if you have any other questions or concerns. Thanks, and have a great day.

Regards,
DJ L.
0 Kudos
Message 2 of 4
(3,811 Views)
Thank you very much.
 Actually we called the company. Obviously, they also did not know what is wrong with the camera driver.
Following is what we did witih our computer and the hardwares.
: At first, we installed Labview 8.0 and NI-IMAQ 3.1 driver. We downloaded the camera driver and Labview interface. Unfortunately, our program could not run under 8.0 system because it was written under 6.1.
 Then we switched to Labview 6.1. The error was shown now.
 Next, we browsed the company website. They said their driver and interface need NI-IMAQ 3.0 or 3.0.1. So we tried these, but the error was still unsolved.

 Now what we want to do is: rebuild our computer system and go back to our original status. Hope we can solve the problem in this very painful way.
 
All bests

CQ
0 Kudos
Message 3 of 4
(3,801 Views)

Has anyone answered this thread? I would really appreciate it if you have.

0 Kudos
Message 4 of 4
(3,285 Views)