Dark adaptation in the compound eye of Aleochara bilineata. the electroretinogram (ERG) techniqueuses electrodes to measure electrical activity in the insect eye in response to pulses of light.