摘要
为了对光伏逆变并网发电系统的参数进行测试,通过RS485总线使主机与多个逆变器模块(DSP)相连,以VC++6.0为平台开发了它们之间进行串口通信的动态链接库。在应用程序中,调用该动态库并运用CStdioFile类、CListCtrl类、CEdit类和各种控件实现了参数的存储和动态显示。经测试,该方案运行稳定,提供了简洁、友好的人机交互界面,满足了系统的设计要求,并已经在现场中运用。
Serial communication dynamic link library was set up between host computer and multiple inverter modules in Visual C++ 6.0 environment on the base of deeply understanding about the system.Obviously,in the application,the data was storied and dynamic displayed using CStdioFile class,CListCtrl class,CEdit class and variety of controls which based on DLL call.Tests show that the program runs stably and provides a simple,friendly man-machine interface,thus meeting the design requirements of the system.As well as,it has been used in the field.
出处
《电子测量技术》
2010年第6期4-7,共4页
Electronic Measurement Technology