Can anyone happen to point me to some example code to set up on-chip binning?  I'm aiming to do 2x2 binning (ideally on an ROI) on a point grey grasshopper (GRAS-14S5M-C). In general do I have the freedom to set the unit size to whatever I fancy? I only see a set command:


And if I can do this what else do I need to worry about? Alternatively, do I just get to choose whatever higher mode I am offered in format 7 which implements binning? This camera does seem to have a format 7 mode with 2x2.

Many thanks for any pointers,


Gregory Jefferis, PhD                      
Division of Neurobiology                   
MRC Laboratory of Molecular Biology,       
Hills Road,                                
Cambridge, CB2 0QH, UK.