摘要
应用LabVIEW图形化语言开发了伏安试验仪的上位机接口界面。设计中,为适应简单通信协议,把串行口初始化成直接二进制字节传送的形式;为满足试验中伏安特性曲线的实时显示,用循环结构实现了XY Graph的实时趋势显示;为取得试验数据中指定的15对索引值,灵活应用了数组的搜索和插值功能节点;正确使用文件管理节点,使试验结果的保存与调出都具有Windows菜单选项风格;试验报告的打印由子VI(Virtual Instrument)完成。
The man-machine interface of superordinate computer for the volt-ampere tester is developed by LabVIEW graphic language. To fit the simple communication protocol,the serial port is initialized to direct binary byte transfer. By using loop structure,the real-time trend of volt-ampere characteristic curve is shown in XY Graph display mode. The search and interpolation function nodes of array are neatly used to acquire the desired 15 pairs of indexes from testing data. The correct use of file management nodes makes the save and open of test results have the style of Windows menus. The test report printing is achieved by sub virtual instrument.
出处
《电力自动化设备》
EI
CSCD
北大核心
2006年第7期43-46,共4页
Electric Power Automation Equipment
基金
浙江省科技计划资助项目(2005C31069)~~
关键词
伏安特性试验
LabVIEW
串行通信
实时趋势图
搜索与插值
文件管理
volt-ampere characteristic test
LabVIEW
serial communication
real-time trend
search and interpolation
file management