Wednesday, October 17, 2012

Citect SCADA- Cicode


Read from Excel spreadsheet
INT FUNCTION GetExcelData();
INT hChannel;
INT courbe1;
hChannel = DDEhInitiate("EXCEL", "test.XLS");
IF hChannel > -1 THEN
sData = DDEhRequest(hChannel, "l1C1");
DDEhTerminate(hChannel);
hChannel = -1;
END;
RETURN courbe1;
END

No comments:

Post a Comment

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