Abstract: Control algorithm and driver development of PMSM is a hard work in embedded development environment due to the limited resources. PC host has abundant hardware and software for engineers. In this paper, we provide a development platform based on PC host installing LabWindows/CVI. LabWindows/CVI programming environment from National Instruments is designed for instrumentation control, data acquisition and visualization of processes. In addition, the complier is based on C language. Therefore, the algorithm can be transplanted to embed processors easily. We use the platform to realize a SVPWM algorithm and design a PID control algorithm. The results indicate that the SVPWM algorithm is valid to drive the PMSM and the control algorithm is valid to realize closed loop control and against load disturbances.