摘要
基于LabVIEW RT实时控制系统,采用RT缓冲技术进行线程数据交互。其控制系统过程参数传输使用基于TCP协议的传输方式。系统的实现需在主程序开始之前创建RT FIFO,主程序分控制和网络通信2个线程。整个程序包括2种类型数据交互:第1种次是线程间交互,即数据从实时线程传输到非实时线程;第2种是网络交互,即数据从RT Target通过以太网传输到HOSTPC。
A real time control system based on LabVIEW RT uses RT buffer technology for inter-thread data communication. Parameters transmitting in the control process of the system use a manner of transmission based on TCP protocol. In order to accomplish the system, RT FIFO needs to be created before the main program start. The main program can be divided into two threads, which are control and network communication. There are two types of data communications in the system: one is between two threads, which is transmitting dada from a real time thread to a non-real time thread, the other is between two targets, which is transmitting dada from a RT Target to a HOST PC.
出处
《兵工自动化》
2007年第11期56-57,62,共3页
Ordnance Industry Automation