beautypg.com

Sending ddeexecute commands to other applications – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 592

background image

16–30

RSView32 User’s Guide

Sending DDEExecute commands to other

applications

You can use RSView32 to send DDEExecute commands to other
applications. However, RSView32 does not accept DDEExecute
commands from other applications. To send commands to RSView32
from other applications, use the RSView32 Object Model with a
programming language such as Visual Basic

®

. For more information

about using the RSView32 Object Model, see Help.

1.

Run the application to which the command is being sent.

2.

Issue the DDEExecute <application>|<topic> <command>
command. You can issue this command from the command line or
from another RSView32 component.

For details about this command, see Appendix A, RSView32
commands
,
or see Help.

Example: Sending a command to RSLinx

The following example sends the Who_Active command to RSLinx

®

(application name = rslinx):

DDEExecute rslinx|__Drivers [Who_Active()]

Drivers must be preceded by two underscores.

When this command runs, the default RSWho window is displayed.