From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-04-2014 10:50 AM
Hi there
I am trying to use the Dalsa line-scan camera P4-CM-08K070-00-R together with the NI PCIe-1433 frame grabber in Labview.
Although there are lots of camera files for different Dalsa models (in the IMAQ driver collection and here on the NI site), I haven't found one for my camera.
I have tried to create one using the Camera File Generator, but without too much success.
Serial communication through Camera Link for reading & writing camera settings works well, but I can't get a signal.
When I use "Snap" in NI MAX or Labview, I just get a timeout.
Anybody here, who has experience with Dalsa cameras?
Thanks!
Sebastian
Solved! Go to Solution.
02-04-2014 10:30 PM
02-05-2014 07:29 AM
Hi uday
Thanks for the quick reply. Unfortunately, it did not bring me much further.
- I am able to load my camera file in MAX, but that does obviously not mean that there aren't any problems.
- I didn't know that MAX can automatically generate camera files. Where do I find this option?
- Yes, I also know what a timeout in general is. I made sure that the camera runs internally triggered, so it should send data all the time without waiting for a trigger from the frame grabber.
As a matter of fact; I got two steps forward and one back, when I tried to find that automatic camera file generation in MAX.
For a couple of times I could receive the test pattern from the camera; now I only get the following error when I try to snap an image: "Serial terminal string not found ..."
(See also the attached screen shots - the MAX error message is in German, but it has basically the same contents as the one in CFGen)
I wish I could tell what exactly I have done...
I am confused, because
- I wasn't aware that the image data transfer involves serial communication.
- the serial communication for setting parameters works flawless, and I am sure that I have set up the correct termination character in the camera file.
Any idea what this error message means exactly?
regards, seb
02-05-2014 08:57 AM
Alright, it turns out that this camera simply requires an absurdly long frame timeout value.
For an acquisition window of width 8192 it needs a timeout of several seconds (even if I read out a single line at a line rate of 70 kHz).
Strangely, the acquisition window height doesn't matter.
Well, thanks for your thoughts.
Seb
03-05-2014 02:58 PM
Hey Sebastian,
We recently got the same camera. Infact I got today. And I have been trying to set it up. But i am not able to. Can you tell me how and where did you get the camera file??
Thanks,
Sridhar
03-06-2014 01:56 AM
Hi Sridhar
Try my camera files (attached).
I finally got it to work by setting the timeout in the camera settings to 10 seconds (which I still find absurd, but well, if that's what it takes...)
Make sure to use the correct camera file according to the pixel format you have set (8 or 12 bit).
I have not implemented the camera control commands in these camera files. So, for setting the operating parameters you have to use Dalsa's Sapera CamExpert or some serial terminal program. Actually, communicating with the camera works very well for me using the IMAQ serial read/write VIs in LabView.
I hope that helps.
Sebastian
03-06-2014 07:46 AM
Thanks a lot for the files, information and the quick reply!!!!
Thanks,
Sridhar
03-06-2014 08:06 AM - edited 03-06-2014 08:13 AM
Hey Sebastian,
I am trying to connect to the camera using the same camera files that you have provided me but I keep on getting the Error 0xBFF60108: The camera file does not support the current interface type. And I tried googling this error but I couldn't find anything. Can you tell me why is that happening?
Oh by the way I am using NI PCIe 1429 frame grabber.
Thanks,
Sridhar
03-06-2014 10:31 AM
Hi Sridhar
That should be easy to fix.
You have to edit the camera file in NI's "Camera File Generator" and set the checkmark for the frame grabber model it shall support (under "CameraLink settings", I think).
I happen to work with the PCIe 1433, and simply didn't bother to activate all the other board models. Lazy me... 😉
Regards,
Sebastian
03-06-2014 10:31 AM
Hi Sridhar
That should be easy to fix.
You have to edit the camera file in NI's "Camera File Generator" and set the checkmark for the frame grabber model it shall support (under "CameraLink settings", I think).
I happen to work with the PCIe 1433, and simply didn't bother to activate all the other board models. Lazy me... 😉
Regards,
Sebastian