摘要
介绍了广泛应用于虚拟仪器程序设计的LabVIEW图形化集成开发平台,指出了它相对于传统程序设计语言的优点。介绍了NIPXI-5421任意波形发生器及其任意波形产生原理,提出了任意波形发生器的通用程序控制流程,并编写了相应的控制程序。该程序采用基于数据流和基于事件响应相结合的程序设计方法,实现了波形载入、增益控制、直流偏移调节、滤波器状态设置和错误处理等功能,具有操作简单、人机界面友好、软件可读性、可维护性好和系统易于升级等特点。
LabVIEW, a graphics integrated development environment widely used in virtual instruments design, is introduced. Its advantages relative to the traditional program languages are presented. And NI PXI-5421 arbitrary waveform generator is also introduced. A universal program controlling flow of AWG is presented and its corresponding controlling program is developed using the combined method ofdataflow-based and event-driven-based. Such functions as waveform loading, gain controlling, DC offset adjusting, filters setting up, and error processing are realized in this program. And it has advantages of simple operation, kind interface between computer and users, readable and maintainable block program, and easily upgrade.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第12期2279-2280,2284,共3页
Computer Engineering and Design