Radiation Control For General X-Ray Machines