想用Labwindows CVI读取EXCEL文件里的数据,用什么函数?烦请老师帮忙,谢谢!

2025-06-21 09:22:24
推荐回答(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