Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

DDEhSetMode

  • Last UpdatedJul 18, 2023
  • 1 minute read

Set the mode of the DDE conversation. The default mode of a DDE conversation is to use TEXT data format - a simple string of data. This function allows you to set the mode to CSV (Comma Separated Values). Some Windows applications support this mode of data as it helps them to separate the data. For example, when you send CSV format to Excel, each value will be placed into a unique cell. If you use TEXT mode all the data will be placed into the same cell.

Syntax

DDEhSetMode(Handle, sMode)

Handle:

The integer handle that identifies the DDE conversation, returned from the DDEhInitiate function.

sMode:

The mode of the DDE conversation:

1 - Text (default)

2 - CSV

Return Value

The error code.

DDEhInitiate, DDEhExecute, DDEhRequest, DDEhTerminate, DDEhPoke, DDEhReadLn, DDEhWriteLn, DDEhSetMode

Example

See DDEhWriteLn.

See Also

Dynamic Data Exchange Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in