Instrument develops its 'eye' for smell