【正文】
nnel selector were connected with a number of test products.The working principle as shown in Figure 1. The course of testing, puter through the parallel port 8way control channel selection, were open different channels, each channel for data transmission by choosing to measuring instruments, measuring instruments through the RS232 port to the puter data sent to save, A plete cycle of all channels of data collection, and this has also tested a number of product features.Figure 1 system block diagram of workThroughout the course of testing, all the control operations have pleted the software automatically, without human intervention.2 hardware designThe system is mainly to use the puter onboard RS232 munication ports and digital measuring instrument of munication port connecting munications, reuse LPT parallel port on a 8way channel selector for access control. 8way channel of choice for an 8elected one of analog switches and related circuit, the control signals from the puter39。 using another thread at the same time data processing, such procedures to avoid a singlethreaded the same time only the implementation of a functional deficiencies. Especially when the amount of data collection, data processing task, using multithreaded technology will greatly improve the efficiency of the system as a whole. Data Acquisition ModuleData acquisition modules to eight channels of data in a cycle of all the acquisition to the puter, and save the channel, and the corresponding data in the buffer. Its procedures diagram shown in Figure 2.Fig 2 Flow diagram of data acquisitionAt the beginning of procedures, with the choice of control and store data buffer at the same time to switch to the same channel, 8way data collection cycle and mand judgement, in the end not received orders, has recycling collection to do.Multichannel data acquisition process the data vulnerable to interference, especially in the fastchannel switching, the data vulnerable to fluctuations, as shown in Figure 3. At this time if the data collection, will be collecting the wrong data, the need to add some software algorithms to prevent this from happening. If we develop the automated data tracking algorithm to automatically track each channel data to determine whether the channel in a stable state, and only the stability of data a