A precise AC/DC programmable source based on PC/104 bus and digital close loop is introduced. The hardware diagrammatic layout and PID control algorithm are presented in detail. The programmable source is portable. It can be used to test voltage meter and current meter or other electrical device cooperating with other standard device in situ.