[Itifg-tech] Camera readout using itifg 8.4
Brought to you by:
mastein1
|
From: Tim v. W. <T.I...@ph...> - 2008-03-18 14:34:10
|
Hi again Mattias,
I'm trying to get a camera (dalsa cad6 256x256) to run with the itifg
driver. It works with the test_itifg routine supplied with the driver
after you helped my figure out how to tell the driver to use a
specific .exo file (thanks again). I'm now trying to write my own
routine which reads out the camera such that I can incorporate it in
my program. There are however a few things that I have some difficulty
finding out, and I hoped that you could help me. I've looked through
the documentation supplied with itifg 8.4.0 (which is the version I'm
using), but this seems rather old, and browsing through the changelog
is unclear at best.
The things I'm trying to find out are:
- What is the normal mode of operation to get a camera to run,
specifically the (fast) mmap mode? What ioctl calls are needed in what
order?
- What is the difference between the /dev/ic0??? descriptors? when
are they used?
- How do I start and stop the framegrabber? The changelog mentions
lseek() ('ioctls STRT/STOP replaced by one lseek interface'), where
and how can I use that with itifg?
- What do the various parameters in the .cam files mean?
- Are all camera specific settings in the .cam files or do I need to
do some things myself? I.e.: do certain cameras require a different
mode of operation, or is this all the same for all cameras?
And more specifically:
- How do I find out the module that I need to use with
iti_read_config() (fourth argument)? I currently use 48, but I don't
know why (this is what itifg_test uses).
If I overlooked certain documentation, please tell me. Also, if these
questions are too general for the itifg driver, let me know. However I
could not find the answer to these questions (easily). An alternative
would be to take your test code and cut out the parts I need, but
that's a rather hacky approach in which case I wouldn't fully
understand what I would be doing.
Thanks in advance,
Tim van Werkhoven
|