This paper introduced the alarm equipment and the hardware link to the computer in digital surveillance system. It introduced a method which implements the input and output of alarm signal in programming with VC++, by using the design idea of OOP an...