This paper proposes a relatively simple program for measuring currents and voltages in electrical power system. Real-Time processing is achieved by using CompactRIO programmable automation controller which combines embedded Real-Time and FPGA modules. The device also enables users to quickly develop program code via LabVIEW graphical programming language. Process of data exchange between FPGA and RT modules using FIFO registers is described in details. In the end, some Power Quality algorithms are presented, according to EN standard and attractive Graphical User Interface for PQ monitoring is displayed.