An algorithm has been implemented at Joint European Torus (JET) for real-time analysis of data from the charge-exchange diagnostic. T-1 and rotation data are produced and can be used in control feedback experiments. The algorithm used has been validated by comparison with previous off-line analysis. (C) 2003 American Institute of Physics.