In HL-2A tokamak, a program to get the data from the vacuum meter has been developed in 2003. The program is used to read and record the data of the neutral gas pressure during the experiment. So how to communicate between a local computer and the vacuum meter via serial-port communication is introduced in this paper. The architecture of the system is shown in Fig. 1.