National Instruments 320682C Musical Toy Instrument User Manual


 
DDE Library Chapter 6
LabWindows/CVI Standard Libraries 6-10 © National Instruments Corporation
Purpose
Called by client to send a command to be executed by a DDE server application.
Parameters
Input
conversationHandle
unsigned integer Uniquely identifies the
conversation.
commandString
string Command to be executed by
the server application.
timeout
unsigned integer Timeout in ms.
Return Value
status
integer Refer to error codes in
Table 6-3.
Parameter Discussion
The commandString represents a valid command sequence for the server application to execute.
Refer to the command function reference manual for the application to which you are connecting
for more information on the commands supported.
See Also
ConnectToDDEServer, ClientDDERead, ClientDDEWrite
ClientDDERead
int status = ClientDDERead (unsigned int conversationHandle, char itemName[],
unsigned int dataFormat, void *dataBuffer,
unsigned int dataSize, unsigned int timeout);
Purpose
Called by client to read data from a DDE server application.
Parameters
Input
conversationHandle
unsigned integer A handle uniquely identifies the
conversation.
itemName
string Uniquely identifies the output
item; for example, system.