In this paper, an approach for helping undergraduate students understand complex algorithms through structured flowcharts (SFCs) and their implementation using graphical programming (GPR) on LabVIEW and myRio is presented. Space vector pulse width modulation (SVPWM) is an important algorithm for students studying power electronics. But, when studying this algorithm, a lot of students often find difficulty in comprehending it. In this paper, we have presented a method which helps students understand SVPWM easily and enables them to implement it on hardware with less difficulty. This article also intends to show the effectiveness of LabVIEW and myRio as constructive educational tools. The proposed approach can also be applied to teaching other complex algorithms. The proposed approach makes use of SFCs to help students develop a theoretical foundation of SVPWM in a theory class. The theory session is followed by the practical implementation of SVPWM using GPR on LabVIEW and testing it on a test-bed (a 3-phase motor connected to myRio) in two laboratory session.