Power Quality is defined as the study of the quality of electric power lines. The detection and classification of the different disturbances which cause power quality problems is a difficult task which requires a high level of engineering expertise. Thus, neural networks are usually a good choice for the detection and classification of these disturbances. This paper describes a powerful tool, developed by the Institute for Natural Resources and Agrobiology at the Scientific Research Council (CSIC) and the Electronic Technology Department at the University of Seville, which generates electrical patterns of disturbances for the training of neural networks for PQ tasks. This system has been expanded to other applications (as comparative test between PQ meters, or test of effects of power-line disturbances on equipment) through the addition of a specifically developed high fidelity power amplifier, which allows the generation of disturbed signals at real levels.