09-21-2006 01:39 PM
09-22-2006 04:13 PM
10-10-2006 03:23 PM
10-10-2006 04:17 PM
Good day,
That's the thing. I'm new to WW aswell. I don't know how you get WW to start listening for DDE communication. The project I've been tasked with envolves replacing our WW with LV, so I have had a need to figure that part out. I tried poking through my existing WW setup put have found nothing useful for you. If I can figure something out, I'll definitely let you know.
10-10-2006 04:23 PM
Hi Sean
Thanks for your help anyway. Its always good to get a reply and find i am not on my own!
I have found out that if i open an excel spreadsheet on the same pc that is running wonderware and type
=VIEW|TAGNAME!'$second'
into any cell, the value in the cell then becomes an auto refresh of the value in the WW tagname dictionary
(in this case just the wonderware system time (second field)
i just cant get this to work in vb using linktopic and link item
Regards
Gary
10-11-2006 01:17 PM
Hey Gary. Well, this is the snippet of code (names modified for confidentiality, etc etc) in our existing VB app that is used
your_text_box_name.LinkMode = 0
your_text_box_name.LinkTopic = "View|Tagname"
your_text_box_name.LinkItem = "your_tag_name"
your_text_box_name.LinkTimeout = 10
your_text_box_name.LinkMode = 1
All I can suggest is make sure you have your quotations marks where they are supposed to be, and perhaps make sure your letter cases match (I don't know if it's case sensitive). I looked at my Project -> References and don't see anything selected that looks like it is related to DDE communication. I got no other idiors for you friend. Hopefully somebody else a little more knowledgeable with WW and DDE communication will post and add his/her 2 cents worth.
--
Sean