An electrostatic dust detector has been successfully developed to measure dust event in situ and in real time on the HT-7 tokamak. For measuring dust near the edge plasmas and preventing interference of electrons and ions, the shielding plates were designed and installed around the dust detector. The electric signal of dust has been successfully measured during LHCD discharges on HT-7 tokamak. The measured dust signal was in good agreement with bursts appeared on multi-channel H α radiation and on multi-channel ECE diagnostics. Diagnostics of the spectrum and the measurement of impurity emission during dust bursts were studied in detail. It is interesting that there is a delay between dust bursts and CIII line emission. It is observed that the delay time between dust signal and measured CIII line emission is about 0.3ms in the HT-7 tokamak.