Move from DDE to COM
Applications that use Dynamic Data Exchange (DDE) to interact with the
FactoryTalk Batch
Server upgraded to work with FactoryTalk Batch
10.xx or higher must modify the parsing program. Data returned from the server through the Component Object Model (COM) interface parses differently than the data returned through the DDE interface. When using the DDE interface, the server places a space between delimiters. When using the COM interface, the server does not put a space between two consecutive delimiters.For example, issuing a request for the
DataServersList
item could return:- DDE InterfaceOPC_SIM \t STANDARD \t LOCAL \t <sp> \t OPC \t{3203642A-F66D-11d1-AD6C-00A024386728} \t PHASES \t WATCHDOG\t <sp> \t <sp> \t <sp> \t <sp> \crlf
- COM InterfaceOPC_SIM \t STANDARD \t LOCAL \t \t OPC \t{3203642A-F66D-11d1-AD6C-00A024386728} \t PHASES \t WATCHDOG \ t \t \t \t \crlf
Address the new way in which the data returns from the server within the parsing logic. If the application was written in
Visual Basic
, address the new parsing requirement by using the Split
method. Pass the return string to the Split
method creating an array with the number of elements equaling the number of fields in the string.Provide Feedback