摘要
针对阴极自动测试系统中多程控仪表并发操作存在的问题,利用异步Socket通信方式进行有效测控。基于微软的.NET框架和VISA虚拟仪器技术,用异步Task对象实现对多程控仪表的TCP Socket测控,采用Async与Await方法提高对程控仪表的控制效率和软件的操控友好性。给出了研究思路和实现方法。结果表明,方法很好地解决了程控设备的并发控制问题,提高了试验系统的运行速度和稳定性。
To solve problems existing with concurrent operation of multi-programmed instruments in the cathodic automatic test system, an asynchronous Socket communication method was used for effective measurement and control. Based on the Microsoft.NET framework and VISA virtual instrument technology, asynchronous Task object was used to implement TCP Socket measurement and control for multi-programmed instruments. Async and Await methods were adopted to improve the control efficiency of the programmable instruments and manipulation friendliness of software. Research ideas and implementation methods were given. The results showed that the proposed scheme could solve concurrent control of the programmable devices and raise the operational speed and stability of the test system.
作者
龚成莹
何辉
兰聪花
梁金荣
Gong Chengying;He Hui;Lan Conghua;Liang Jinrong(College of Electronic Information Engineering, Lanzhou Institute of Technology, Lanzhou Gansu 730050, China)
出处
《电气自动化》
2019年第2期14-17,共4页
Electrical Automation
基金
赛尔网络下一代互联网技术创新项目(NGII20160303)
2017年度甘肃省高等学校科研项目"基于6LoWPAN的数据中心动环监测系统"