Send Frame

Hi there.

I am trying to develop an application that will grab a frame of the camera just like the java GUI. I’ve read the send frame java GUI code, but it wasn’t very helpful, and I didn’t manage to find any relevant posts in forum.

When I use the “SF” command out of the camera, I’m expecting to read bytes in the following form:

1 xSize ySize 2 rgb rgb … 2 … 3 (as the CMUcam manual says)

LED 1 turns off and then nothing seems to happen.

What am I doing wrong?
Is there any example code for me to use?

I would realy appreciate any help of you. Thank you in advance…
NM