节点文献
核仪器遥传系统数据校验设计
Nuclear Instruments telemetry data verification system design
【摘要】 文章针对远程放射性测量无线传输系统运行过程中数据传输不稳定的问题,从程序设计出发,结合了常见的按时间读取、按字节读取的上位机串行通信数据接收逻辑,基于串口Serial Port类和计时器Timers类,提出并应用了一种数据接收逻辑,以此提升传输系统稳定性。该接收逻辑综合了按字节读取等待时间弹性大的优点以及按时间读取定时重传的优点,增加掉线重连、超时检测的功能。实验表明采用此数据接收逻辑的测量传输系统,通信环境适应能力及传输稳定性均得到了提高。
【Abstract】 This paper aims at the problem of unstable data transmission during the operation of wireless transmission system for remote radioactivity measurement, starting from the program design, this paper combines the common serial communication data receiving logic of the host computer which is read by time and read by byte, based on the SerialPort class and Timers class, a data receiving logic is proposed and applied to improve the stability of the transmission system. The receiving logic combines the advantages of large elasticity of waiting time of read by byte and the advantages of timed retransmission of read by time, and adds the functions of reconnection and timeout detection. Experiments show that using this data receiving logic measurement of transmission system, communication environment adaptability and transmission stability are improved.
【Key words】 Nuclear measurement; Wireless transmission; Program design; Serial communication; Serial Port class; Receive logic;
- 【文献出处】 电子测试 ,Electronic Test , 编辑部邮箱 ,2022年24期
- 【分类号】TL81;TP311.52
- 【下载频次】7