论文部分内容阅读
中性束诊断(DIAGNOSTIC NEUTRAL BEAM,简称DNB)是一套用于核聚变装置EAST上的等离子体诊断设备.其电源控制系统需要在1MS内对9套电源完成波形、脉冲的输出、测量,网络通讯,以及故障监视与保护等.考虑系统的实时性,下位机采用了QNX实时操作系统.为了提供友好的人机操作环境,选用了WINDOWS系统作为上位机界面平台.文章介绍了QNX与WINDOWS这两种不同平台间的网络通讯,实践证明基于TCP/IP协议,使用SOCKET API建立套接字在这两个系统之间通讯是完全可行的,且十分可靠高效.“,”DNB (Diagnostic Neutral Beam) is a set of equipment that is used for the plasma diagnosis on a nuclear fusion device. The DNB's power supply control system requires to complete various tasks of nine sets of power within one millisecond including waveforms,pulse output,measurement,network communications,monitoring and fault protection etc. Based on realtime considerations,QNX real-time system has been selected as the lower computer operating systems. Furthermore,in order to provide a friendly human-computer operating environment,Windows system has been chosen to be the platform of PC interface. This paper describes the network communication between QNX and Windows operate system,and the evidence has revealed that using the socket built on socket API based on TCP/IP to communicate on network between those two operate systems is definitely feasible. Moreover,it is sufficiently reliable and efficient.