Sending Data to an Application

 

DDEPOKE sends a data item from DADiSP to an application as a string. In the previous DDEPOKE example, the maximum value of W1 is converted into a string and sent to cell R1C1. DADiSP automatically converts the data into the appropriate string format. For example, to send a 100 point series to Excel:

 

ddepoke(chan, "R1C1:R100C1", Gsin(100,.01,1))

 

creates a 100 point sine wave and sends the data to row 1 column 1 through row 100 column 1 in Excel. The data is sent as carriage return, line feed (CR-LF) delimited ASCII values.