Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Johann Schoonees <j.schoonees@ir...> - 2005-02-28 23:10:54
Johann Schoonees wrote:
> Andrew Straw wrote:
>> I'm using camwire 0.7 with libdc1394 1.0.0 to capture images with our
>> Basler A602f cameras. All has been working splendidly (thanks!), and
>> now I'm trying to increase frame rates by decreasing the frame size.
>> I've been calling the appropriate camwire functions to reduce my
>> size, and camwire returns that my frame rate should be increased
>> at full frame of 656 by 491, camwire returns 101 fps and at 200 by
>> 100, camwire says I should be getting 200 fps). Yet, if I actually
>> count how many frames I've captured (using camwire_copy_next_frame ==
>> dc1394_dma_single_capture) during a second, it never varies from
>> 101 fps. (This is using the camera's internal trigger.)
>> As an attempt to figure out what's going on, I've disabled the IIDC
>> version checks in dc1394_format7.c after reading an email that Basler
>> cameras reporting version 1.20 silent support the
>> REG_CAMERA_FORMAT7_PACKET_PER_FRAME_INQ register. Querying the bytes
>> per packet ( dc1934_query_format7_byte_per_packet ) indicates the
>> values that camwire seems to have determined internally are actually
>> what the camera is using.
>> At this point, I'm stumped -- if I've decreased the number of packets
>> per frame (and the number of bytes per packet), why doesn't my frame
>> rate increase?
> This should work as you say, which means that you might have found a
> bug. Could you please show us a snippet of your code showing the
> of function calls and their arguments (camwire & libdc1394)?
Just a thought Andrew: What do you have your shutter speed set to?
If you accept the Basler A602f's default integration time of just
under 0.01 s then the camera can't send frames any faster than it
takes to integrate each frame.
Johann Schoonees Research engineer
Industrial Research Limited, PO Box 2225, Auckland, New Zealand
Phone +64 9 9203679 Fax +64 9 3028106 http://www.is.irl.cri.nz/
Camwire's home: http://kauri.auck.irl.cri.nz/~johanns/camwire/