DDECONV

Concept Link IconSee also Concept Link IconExample

Communication control for DDE exchanges with configured DDE server applications.

WebVue support - Yes.

Mode

Mnemonic

Syntax

0 START 1
1 STOP 1
2* STATUS 1
3* ON 2
4* OFF 2

* These modes are now obsolete and have been replaced by system variables:

  • SYSTEM.DDE.Conversation Name.ON is a bit variable with a value of 1 when the conversation is running and 0 when it is stopped.

  • SYSTEM.DDE.Conversation Name.STATUS is a register variable containing the status of the conversation.

Syntax 1

Channel = DDECONV (Mode, ConvName);

Return type: INTEGER.

Argument

Meaning

ConvName

The name of the DDE conversation. Type STR

Execution

Mode

Mnemonic

Action

0

START

Start the DDE conversation.

 

 

Return:

0 if successful
1 if error
-1 if the conversation does not exist.

1

STOP

Stop the DDE conversation.

 

 

Return:

0 if successful
1 if error
-1 if the conversation does not exist.

2

STATUS

Test the status of the DDE conversation.

 

 

Return:

0 if running
1 if stopped
-1 if the conversation does not exist.

Syntax 2

IntVal = DDECONV (Mode);

Return type: INTEGER

Execution

Mode

Mnemonic

Action

3

ON

Start all DDE conversations.

 

 

Return: 1 if successful, else 0.

4

OFF

Stop all DDE conversations.

 

 

Return: 1 if successful, else 0.

Example

For an example, select the Example link above.