摘要
以电网分析仪测试系统为研究实例,提出了一种增强监控程序功能和灵活性的方法;该方法将脚本引擎嵌入到电网分析仪上位机监控程序中,用户可以使用脚本引擎提供的脚本语言,编写脚本程序,改进监控程序的原有功能,为监控程序增加新的功能; 这样一来,上位机平台具备了对测试功能进行二次开发的能力,变成了一个可编程的平台;脚本引擎的实现使用了Activex Scripting技术,具体的引擎语言选择的是JavaScript,这种设计对编写具备二次开发能力的上位机监控程序,有一定的借鉴价值。
Taking supply network analyzer system for example, presents a method to enhance the ability of the monitoring program's function and flexibility. This method embeds general script engine in the monitoring program of host computer. So users can update the monitoring program and realize new function for monitoring program. Then monitoring program has the ability of redeveloping for measurement, and becomes a programmable platform. Script engine is implemented by Activex Scripting technique. The engine language is JavaScript. This design will have a certain reference meaning for developing similar monitoring program.
出处
《计算机测量与控制》
CSCD
2005年第10期1135-1136,1157,共3页
Computer Measurement &Control