simple example for slit scanner