Wednesday, October 3, 2012

Citect-SCADA Cicode


Write to Excel spreadsheet 

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

No comments:

Post a Comment

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