DDE

Paul Moore pf_moore at yahoo.co.uk
Fri Oct 17 17:06:00 EDT 2003


"Robert McMahon" <mcmahon_robert at bellsouth.net> writes:

> I am trying to get some information from Intouch (Wonderware) an Industrial
> User Interface.  Intouch supports DDE in the form of (Service,Topic,Item)
> The following is the code that I have so far.  I can't seem to get the Item
> data.  I need to get a data from a Tagname called "F1Turb".  If anyone could
> point me in the right direction.....thanks......
>
> import win32ui
> import dde
>
> server = dde.CreateServer()
> server.Create("TestClient")
>
> conversation = dde.CreateConversation(server)
>
> conversation.ConnectTo("View","Tagname")

Doesn't conversation.Request("F1Turb") do what you want?

See win32\demos\dde\ddeclient.py.

Paul.
-- 
This signature intentionally left blank




More information about the Python-list mailing list