X-rays of a suitable wavelength range for protein crystallography (~0.8 - 2.3 Å) are generated by three commonly used devices: X-ray tubes, rotating anodes and synchrotrons.
In laboratory sources will produce X-rays using either an evacuated tube or a rotating anode. X-ray tubes consist of a filament that acts as a cathode.