ADE 9000 Individual harmonic calculation program for maple mini/arduino/due

Hi Folks,

I just strated a startup, in which i would like to deisgn a power quality meter. In this aspect, i need a help.

(i). I would like to show the events of dip/swell along with its real time

(ii). I would like to calculat the individiual harmonic percentages (Please share a sample program)

Further, can i show all these values in graphically using labview/other software?