用labwindows⼀cvi怎样生成word 或excel报表

2025-04-16 15:18:38
推荐回答(1个)
回答(1):

你该去仔细看cvi是帮助 骚年
Tools Library 中Excel Report下的一堆函数你该去玩一玩 看起来你 应该只要要用到下列函数

New
ExcelRpt_ApplicationNew

Quit
ExcelRpt_ApplicationQuit

Workbook

Open
ExcelRpt_WorkbookOpen

Close
ExcelRpt_WorkbookClose

Cell Range

Write Data
ExcelRpt_WriteData

Read Data
ExcelRpt_ReadData

Read Data To Table Control
ExcelRpt_ReadDataToTableControl

Get Cell Value String Length
ExcelRpt_GetCellValueStringLen

Get Cell Value
ExcelRpt_GetCellValue