Search found 15 matches
- Thu Dec 15, 2022 10:12 am
- Forum: Off-Topic
- Topic: Why is the C# API 'slow'
- Replies: 2
- Views: 12358
Re: Why is the C# API 'slow'
The whole API is by design asynchronous. Also information coming from DP-Identification is asynchronous implemented. The synchronous methods are just synchronized versions of the asynchronous. I recommend to use always the asynchronous! . The asynchronous style of implementation has the big benefit,...
- Thu Dec 15, 2022 8:25 am
- Forum: HowTos
- Topic: The new C# API
- Replies: 12
- Views: 9592
Re: The new C# API
The basic .NET API documentation is available at: <WinCC OA Inst Directory>\api.net\docu It describes some ideas and concepts but is not that detailed. Regarding observing DP values: IAsyncEnumerable is one part of the task based asynchronous pattern of .NET. The main benefit of both techniques is t...
- Mon Sep 02, 2019 3:29 pm
- Forum: Bugs / Problems
- Topic: .net API memory leaks
- Replies: 3
- Views: 3568
Re: .net API memory leaks
Without knowing details I think it is a bug in the wrapper of CharString per reference, which we recently found. Internally for each cb and DP the dpid is converted into a string representation. Therefore internally a method (Manager::getId()) with a CharString out (per reference) parameter is used....
- Thu Jan 17, 2013 3:19 pm
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<r>WCF supports websockets: <URL url="http://msdn.microsoft.com/en-us/library/hh674271.aspx"><s>[url]</s>http://msdn.microsoft.com/en-us/library/hh674271.aspx<e>[/url]</e></URL><br/> <br/> gSOAP supports "ws" (<URL url="Using%20WS-Addressing%20with%20SOAP-over-UDP"><s>[url]</s>Using WS-Addressing wi...
- Wed Jan 16, 2013 8:29 pm
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<r>It is a alternative for XML-RPC in combination with your .NET Proxy.<br/> Both get one component.<br/> Therefore the performance should be better.<br/> <br/> Further there are a lot of examples available in the internet which descibes how the publish-subscribe pattern could be implemented with WC...
- Wed Jan 16, 2013 2:37 pm
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<r>I found a possible alternative: <B><s>[b]</s>WCF<e>[/b]</e></B><br/> <br/> WCF is based on <B><s>[b]</s>SOAP<e>[/b]</e></B>. SOAP is similar to XML-RPC but more flexible and therefore more complex.<br/> <br/> If you search at google you can find lots of solutions which do a communication between ...
- Fri Dec 28, 2012 12:46 am
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<r>Attached you can find a simple XML-RPC server in CTRL and a correspondig C# Console Application with a XML-RPC-Client.<br/> With this solution a subscription to a set of DPEs is possible. The solution implements the long polling pattern.<br/> <br/> The client code is very simple: <CODE><s>[code]<...
- Fri Dec 14, 2012 9:32 am
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<r>Hi<br/> <br/> Take a look at the Server-Log-File. There should be further information.<br/> Maybe the object[] settings is the problem.<br/> Therefor is nothing implemented on the server and should be empty.<br/> I think this would work if you transfer an empty KeyValuePair or hashtable. If this ...
- Thu Dec 13, 2012 7:25 pm
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<t>The server uses dpQueryConnectSingle instead of dpConnect.<br/> <br/> I think (not sure) you must call on client side (pseudo code):<br/> <br/> clientId = pvss.db.getClientSubscriptionId();<br/> subId = pvss.db.startSubscriptionValues(dpes, settings, clientId);<br/> <br/> Start Thread and run fol...
- Thu Dec 13, 2012 6:45 pm
- Forum: Bugs / Problems
- Topic: PVSS and c#
- Replies: 33
- Views: 36091
Re: PVSS and c#
<t>Hi<br/> <br/> Take a look into the xmlrpcHandlerCommon.ctl in the /script/libs directory.<br/> I think there is a functionality implemented, which allows similar to a subscription. This library could be simple integrated in the XML-RPC server. Just call methodHandlerCommon() function.<br/> <br/> ...