DDE

R

Robert McMahon

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")



-----Robert
 
P

Paul Moore

Robert McMahon said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Python and DDE 0
DDE error Poke Failed 0
DDE (eSignal) 3
Python, DDE and Callbacks 0
DDE client help 0
DDE Server interaction 0
How to play corresponding sound? 2
Dynamic block parsing + scrolling 0

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top