Experimental optimization of an optopneumatic interface