Tuesday, October 2, 2012

Citect SCADA Cicode


Read from.Excel spreadsheet 

STRING FUNCTION GetExcelData();
INT hChannel;
STRING sData;
hChannel = DDEhInitiate("EXCEL", "DATA.XLS");
IF hChannel > -1 THEN
sData = DDEhRequest(hChannel, "R1C1");
DDEhTerminate(hChannel);
hChannel = -1;
END;
RETURN sData;
END 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.