摘要
基于Python语言高效、灵活、面向对象等特性,结合PYQT以及NumPy等扩展模块提供的强大功能,通过将控件对象及回调函数抽象为相应的类实例,使用户可以根据自身需求方便地修改程序代码以增减仪器的系统功能或规模,简化虚拟仪器开发过程,有效实现代码的重复利用,并通过实例表明,用Python开发虚拟仪器层次清晰,周期短,具有广泛的研究前景。
Basing on such as efficient, flexible, object-oriented features of Python, combining PYQT and NumPy's powerful abilities, the users can easily modify the program code to increase or decrease the instrument system function or scale according to their needs , through the method of abstracting instances of classes from item objects or action functions. In this way, we can simplify the development process and reuse code efficiently. The examples show that the development of virtual instrument based on Python is distinctive nuance, its cycle is short, and has broad research prospects.
出处
《电子设计工程》
2012年第16期48-50,共3页
Electronic Design Engineering