节点文献
振动试验仿真系统中的数据通讯实现
Data Communication in the Simulation System of Vibration Test
【Author】 Qiong Song Baoliang Niu Xia Yan(Institute of Structural Mechanics, China Academy of Engineering Physics, Mailbox 919-402, SiChuan, Mian Yang, 621900)
【机构】 中国工程物理研究院结构力学研究所;
【摘要】 振动试验仿真系统是一套全数字仿真系统,由三台计算机组成,形成一个Client/Sever模式的网络体系。本文在分析了振动试验仿真系统的数据通讯要求后,设计了仿真系统数据通讯方案,采用VB的Winsock控件技术实现了客户机的数据通讯编程。采用C语言设计Winsock API网络通讯程序,在MATLAB环境下编译成M函数,直接嵌入到仿真回路中,实现了MATLAB环境下的Winsock API的无缝链接,从而解决了服务器端的效据通讯问题。
【Abstract】 The entirely digital simulation system of vibration test is a client/sever network,which is constructed by three computers. Accoring to the communication requirement of the simulation system, the communication project is presented in this paper. The Winsock control of VB is utilized to devise the communication program in the client. The sever communication programe is devised in C language. Through compiled to m function in MATLAB enviroment, it can be embeded in simulation loop. So the data communication in sever is realized through the seamless link between Winsock API and MATLB.
- 【会议录名称】 ’2004系统仿真技术及其应用学术交流会论文集
- 【会议名称】’2004系统仿真技术及其应用学术交流会
- 【会议时间】2004-08
- 【会议地点】中国合肥
- 【分类号】TP391.9
- 【主办单位】中国科学技术大学自动化系、中国自动化学会系统仿真专业委员会、中国系统仿真学会仿真计算机与软件专业委员会