This study is about developing a PID (proportional- integration derivation) controller for controlling the speed of DC shunt motor. The software used for designing the controller is LABVIEW. The methodology is divided in two parts first one is software development and second one is interfacing with hardware. In software development calculation of DC motor transfer function and then simulation for finding out the parameter values of PID and developing the software controller. To obtain the value for Kp, Ki and Kd Ziegler-Nichols Closed- Loop Method is used. Finally to interface with the hardware (NIUSB6221) DAQ will be used. After interfacing experimental values of speed control of Dc shunt motor will be taken and transfer to Excel file and graph will be plotted. After that controlling closed loop system of speed control of .This motivation deals with Simulation of Electrical Machines Laboratory experiments which are part of Lab session at under- graduate Electrical Engineering level using Laboratory Virtual Instrument Engineering Workbench (LabVIEW) software.