[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems clearing PC-Dig - again
OK. It looks like I still have problems clearing the buffer on our
PC-Dig - remember, I'm trying to read out lines from the line scan
camera using GIOC_CR_SET_START to make sure the frame grabber will
return data starting from the first line after everything is initialized
(not after the next full frame.)
Now, we've been running a test version of the code for quite some time
now, and it works fairly well most of the time, but on
1. There seems to be a constant offset at the start - a number of
lines are missing initially. Internal consistency is still
maintained (but see below), i.e. I'm able to restart where I left
off when I have to stop due to a "buffer overrun" or similar as the
offset will be exactly the same when I do.
2. Everything does get completely out-of-sync from time-to-time, but
I'm unable to work out under what conditions.
I thought I might ask once again if there isn't a better way to reset
the state of the grabber. - As you will probably recall, I'm no stranger
to updating the kernel source, but I'll need some pointers to the
relevant sections of the code.
--
Toralf Lund <toralf@kscanners.com> +47 66 85 51 22
Kongsberg Scanners AS +47 66 85 51 00 (switchboard)
http://www.kscanners.no/~toralf +47 66 85 51 01 (fax)