A diagnostic that measures the velocity of plasma in real time