LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a DDE advise link working on a DDE server with more than one topic on the same service, and with an equal item name?

When I create a DDE server with serveral topics, all on the same service and with the same item name (different topic), it appears that an advise link does not function properly. It doesn't work at all, it update only when the advise link is terminated or only one of the topics can use an advise link.

eg.

On one DDE server I have 2 topics:

topic1:
servicename: DDEserver
topicname : C(1)
itemnames : P(1), P(2), P(3)

topic2:
servicename: DDEserver
topicname : C(2)
itemnames : P(1), P(2), P(3)

Only the topicnames differ!

Now I can't get an advise link working on one of the items (sometimes on one, but not
on another).

Normal (non-advise) links are working fine however.

(In my case there is no other solution since this DDEserver should be compatible with an older one, created earlier.)
0 Kudos
Message 1 of 2
(2,516 Views)
I really don't know DDE very well. It is usually recommended that you switch to using ActiveX. You may not be correctly configuring the netDDE server. There is an example in the reource library that shows how to do this. You may also want to look at the DDE advise examples that came with LabVIEW 5.1 and earlier.
0 Kudos
Message 2 of 2
(2,516 Views)