dzrong Posted March 12, 2010 Share Posted March 12, 2010 Who can tell me the differece between "communication.AsyncGetResponse(commands)" and "communication.GetResponse(commands, out response)" in the example of PowerPmacComLibDemoApp? I mean the differce between "AsyncDTCommunication" and "DTCommunication()". Thanks! Link to comment Share on other sites More sharing options...
Omron Forums Support Posted March 12, 2010 Share Posted March 12, 2010 [quote='dzrong' pid='339' dateline='1268371313'] Who can tell me the differece between "communication.AsyncGetResponse(commands)" and "communication.GetResponse(commands, out response)" in the example of PowerPmacComLibDemoApp? I mean the differce between "AsyncDTCommunication" and "DTCommunication()". Thanks! [/quote] If you use AsyncDTCommunication then the caller receives the response data Asynchronously. This is done by sinking data_available event. If you use DTCommunication then it is synchronous communication that means caller will get response on command. Let me know if you need anything! Thanks, Atul Link to comment Share on other sites More sharing options...
Recommended Posts