Best guide is here, takes a couple of minutes and works well in maxim. Scroll halfway down the page to see how to set gain and offset for these cameras. There is a similar one on the QHY website but can't find it right now but this is better in any case.
http://www.stark-labs.com/blog/files/GainAndOffset.php
Mark