At first, please look at my attachment. There is the part of my code (it is inside of a while loop) which saves a raw data from my firewire camera. I am thinking how does this saving process work? How does it save the data in each while loop's iteration time (pixels, rows and columns)? For example if I use 100x1000 8-bit image. There is also Set File Position.vi which makes next line after iteration (at least I think so?). It is important to know when I'm processing the data later with Matlab.
My second question:
If I set height = 100 and width = 1000 as parameters, image indicator from IMAQdx Grab's image out says that the image is "only" 1000x96 8-bit image. Where are "missing" 4 bits?
what is given in your "image size" (num of bytes) indicator?
Setting file position to end is ok for appending data to a file, writing binary files is just taking the byte stream given by that IMAQ function ( I don't have IMAQ installed, so cannot check what's coming out there).
Yes, I know that I get only 96*1000*1byte+64byte header. But my question is why I get it instead of getting 100*1000*1byte+header=100064 as set in the beginning (in front panels parameters control)? It kind of eats 4 of them?