A Cr-doped semi-insulating GaAs cube was used as the optoelectronic switching element. Using the ultrashort pulses at 1.06μm or 0.53/μm to control this switching element, its output characteristics was observed and the dependence of the switching efficiency on the laser energy was obtainded. The behaviour of the photoconductivity at high pumping level was analysed.