Real-time implementation of phasor measurement unit using NI CompactRIO | IEEE Conference Publication | IEEE Xplore