07-11-2005 03:28 PM
07-12-2005 03:31 AM
07-12-2005 08:44 AM
Hi Steffen,
Thank you for your answer.
I've tried your test. The displayed frame rate was 65 (the max line rate of the camera : 65000 lines/sec).
So, I take a closer look at the triggered acquisition modes. In my case, only one seems to fit for what I want to do : Mode 5, External line rate and external pixel reset. But in MAX, the mode 5 ask to enter an integration time... that doesn't fit with the camera's documentation unless if LabView take the external pixel reset in charge. If it is the case, I was wondering if the camera file may be the cause of my problem. In the NI camera file compatibility report, it's said that the S2-1x-05H40 file was made from the S2-1x-02k40 file and I found that in the S2-1x-05H40 file, the max line rate was set to 18000 while the camera can support 65000 lines/sec (18000 stand for the S2-1x-02k40 camera). All other constants in the S2-1x-05H40 file were similar to the S2-1x-02k40 ones (including the values in the exposure mode configurations).
I assume that if the camera file control the pixel reset line the same way than if it was a S2-1x-02k40 camera, it is understandable that the timing will not be the same for 512pixels camera than for a 2048pixels one.
Also, the camera file doesn't explicitly support the PCI-1426 board (neither the camera file generator) and I was forced to modify it to use this board. Maybe there is also some differences in the board causing my problem... Since I have bought PCI-1426 boards on the NI recommendation, specifically to use this camera, I was thinking that the camera and the board were more directly supported and compatible...
Do you think I am on the good way to find a solution or am I looking to far ?
Regards,
David
07-12-2005 09:24 AM
Hello David,
I am quite sure you are on the right way. I just take a look into the icd file and I think you are right. Use an editor to open the icd (\\National Instruments\NI-Imaq\Data) file and scroll to "Name (x)" (x = 1 - 6). Under every Name() you can find values like 18000 and 18500. 18000 means the line rate. Replace them by 65000. Replace 18500 by 65500 for example. This value is used to calculate delay and impulse width of the generated trigger signal for the camera. Working with 18500 makes the width to long for your camera. This means the camera does not get enough trigger signal to acquire 65000 triggered lines. May be you can use the camera file generator to do this, too.
Best regards,
Steffen
07-12-2005 10:38 AM
Thank you Steffen !
Effectively, those little corrections makes my VI working better and I can get all the images in the expected time until around 50000 lines/sec.
At 52500 lines/sec, the problem begin to be noticeable and at 55000lines/sec, it still takes twice the time to get an image.
If I increase the value to 78500 (instead of 65500) in the camera file, I can reach the maximum acquisition speed/image size with my system (63500). I can't find information about the relationship between the control lines and the camera (Line (n) are for witch camera signal ?), but I'm sure that we can correlate the camera timing spec with the values needed to obtain proper line rate. If you have this information, it will be appreciated... so, I'll can tune the value to be sure to get the maximum of data depending of my line rate (exposure time VS line rate). Stop me if I'm wrong, but with the constant value 50000000 / n in the camera file, the exposure time is fixed whatever the line rate is effectively ?
Thank's again for your help,
David
07-13-2005 08:21 AM