<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.opcfoundation.org/forum/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>OPC Foundation Message Board</title>
 <link>http://www.opcfoundation.org/forum/</link>
 <description>Please use this open forum to ask and answer OPC related questions</description>
 <language>en</language>
 <copyright>Copyright OPC Foundation, Inc.</copyright>
 <managingEditor>ForumAdmin@opcfoundation.org</managingEditor>
 <webMaster>ForumAdmin@opcfoundation.org</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Fri, 03 Sep 2010 02:14:03 GMT</lastBuildDate>
 <pubDate>Fri, 03 Sep 2010 02:14:03 GMT</pubDate>
 <image>
  <url>http://www.opcfoundation.org/images/OPCPayPalHeader.JPG</url>
  <title>OPC Foundation Message Board</title>
  <link>http://www.opcfoundation.org/forum/</link>
 </image>
 <item>
  <title>RE: Relative time with &amp;quot;MONTH&amp;quot; or &amp;quot;YEAR&amp;quot;</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13456#13456</link>
  <description>Ok the the fix should set the month/days to 1 in all of the switch statements where they are set to zero now.</description>
  <category>.NET API</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3887</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 02 Sep 2010 21:45:35 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13456#13456</guid>
 </item>
 <item>
  <title>RE: Relative time with &amp;quot;MONTH&amp;quot; or &amp;quot;YEAR&amp;quot;</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13455#13455</link>
  <description>Randy,
&lt;br /&gt;
Looks like your code is the same as mine, and has the same bug.
&lt;br /&gt;

&lt;br /&gt;
The root problem is that something like:
&lt;br /&gt;
Debug.print Opc.Hda.Time.Parse(&amp;quot;MONTH&amp;quot;).ResolveTime() will fail.
&lt;br /&gt;

&lt;br /&gt;
The reason is that the ResolveTime call will select this case segment which sets days=0.
&lt;br /&gt;

&lt;br /&gt;
case RelativeTime.Month: 
&lt;br /&gt;
   { 
&lt;br /&gt;
      days         = 0; 
&lt;br /&gt;
      hours        = 0; 
&lt;br /&gt;
      minutes      = 0; 
&lt;br /&gt;
      seconds      = 0; 
&lt;br /&gt;
      milliseconds = 0; 
&lt;br /&gt;
      break; 
&lt;br /&gt;
   } 
&lt;br /&gt;

&lt;br /&gt;
days=0 is an invalid argument in the DateTime constructor, and thus the exception.
&lt;br /&gt;

&lt;br /&gt;
time = new DateTime(years, months, days, hours, minutes, seconds, milliseconds); 
&lt;br /&gt;

&lt;br /&gt;
I hope that this is clearer.</description>
  <category>.NET API</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3887</comments>
  <dc:creator>GLaurier</dc:creator>
  <pubDate>Thu, 02 Sep 2010 18:36:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13455#13455</guid>
 </item>
 <item>
  <title>RE: Relative time with &amp;quot;MONTH&amp;quot; or &amp;quot;YEAR&amp;quot;</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13454#13454</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;// get local time from the system.
&lt;br /&gt;
DateTime time = DateTime.UtcNow;
&lt;br /&gt;

&lt;br /&gt;
int years&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = time.Year;
&lt;br /&gt;
int months&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= time.Month;
&lt;br /&gt;
int days&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= time.Day;
&lt;br /&gt;
int hours&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = time.Hour;
&lt;br /&gt;
int minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; = time.Minute;
&lt;br /&gt;
int seconds&amp;nbsp; &amp;nbsp; &amp;nbsp; = time.Second;
&lt;br /&gt;
int milliseconds = time.Millisecond;
&lt;br /&gt;

&lt;br /&gt;
// move to the beginning of the period indicated by the base time.
&lt;br /&gt;
switch &amp;#40;BaseTime&amp;#41;
&lt;br /&gt;
&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Year&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;months&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;days&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;hours&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;seconds&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;milliseconds = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;break;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Month&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;days&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;hours&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;seconds&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;milliseconds = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;break;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Week&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Day&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;hours&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;seconds&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;milliseconds = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;break;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Hour&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;minutes&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;seconds&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;milliseconds = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;break;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Minute&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;seconds&amp;nbsp; &amp;nbsp; &amp;nbsp; = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;milliseconds = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;break;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;case RelativeTime.Second&amp;#58;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;milliseconds = 0;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;break;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;#125;
&lt;br /&gt;

&lt;br /&gt;
// contruct base time.
&lt;br /&gt;
time = new DateTime&amp;#40;years, months, days, hours, minutes, seconds, milliseconds&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>.NET API</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3887</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 02 Sep 2010 18:21:54 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13454#13454</guid>
 </item>
 <item>
  <title>RE: UA HA Quickstart?</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13453#13453</link>
  <description>Randy,
&lt;br /&gt;

&lt;br /&gt;
Thanks for the quick reply.  Yes I would like to get ahold of the source that you have so far for the UA Quickstart.
&lt;br /&gt;

&lt;br /&gt;
When you say that there are issues with the spec, is it that the spec for HA is not fully defined yet?  
&lt;br /&gt;

&lt;br /&gt;
Thanks again,
&lt;br /&gt;

&lt;br /&gt;
Ken</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3885</comments>
  <dc:creator>kenhanson</dc:creator>
  <pubDate>Thu, 02 Sep 2010 15:54:45 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13453#13453</guid>
 </item>
 <item>
  <title>Relative time with &amp;quot;MONTH&amp;quot; or &amp;quot;YEAR&amp;quot;</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13452#13452</link>
  <description>Is there an official update to the OPC.HDA.Time.ResolveTime function?
&lt;br /&gt;
In the code set I downloaded, the problem code section is:
&lt;br /&gt;

&lt;br /&gt;
case RelativeTime.Month:
&lt;br /&gt;
				{
&lt;br /&gt;
					days         = 0;
&lt;br /&gt;
					hours        = 0;
&lt;br /&gt;
					minutes      = 0;
&lt;br /&gt;
					seconds      = 0;
&lt;br /&gt;
					milliseconds = 0;
&lt;br /&gt;
					break;
&lt;br /&gt;
				}
&lt;br /&gt;

&lt;br /&gt;
subsequently:
&lt;br /&gt;

&lt;br /&gt;
/ contruct base time.
&lt;br /&gt;
			time = new DateTime(years, months, days, hours, minutes, seconds, milliseconds);
&lt;br /&gt;

&lt;br /&gt;
Since &amp;quot;0&amp;quot; for days is invalid, this throws an error.
&lt;br /&gt;

&lt;br /&gt;
There is a similar issue parsing a time with the keyword &amp;quot;YEAR&amp;quot;
&lt;br /&gt;

&lt;br /&gt;
It is easy enough to get something to work, but if it has already been fixed somewhere, it would be good to be consistent.</description>
  <category>.NET API</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3887</comments>
  <dc:creator>GLaurier</dc:creator>
  <pubDate>Thu, 02 Sep 2010 14:44:46 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13452#13452</guid>
 </item>
 <item>
  <title>RE: Doubts about QueryAvailableLocaleIDs/SetLocaleID</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13451#13451</link>
  <description>Ok Randy, thanks a lot.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3841</comments>
  <dc:creator>marina.ceccherini</dc:creator>
  <pubDate>Thu, 02 Sep 2010 11:54:09 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13451#13451</guid>
 </item>
 <item>
  <title>RE: UA HA Quickstart?</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13450#13450</link>
  <description>I have a HA Data and Events quickstart that is partially implemented. There are some issues with the spec that need to be resolved before it can be released. But I can make it available to anyone who would like a preview. They are complete enough to be useful.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3885</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 02 Sep 2010 11:22:16 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13450#13450</guid>
 </item>
 <item>
  <title>RE: Doubts about QueryAvailableLocaleIDs/SetLocaleID</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13449#13449</link>
  <description>Locales and the wrappers is an issue for many. I will look into what its required to add the correct solution for this. Give me a couple days.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3841</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 02 Sep 2010 11:20:26 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13449#13449</guid>
 </item>
 <item>
  <title>RE: Doubts about QueryAvailableLocaleIDs/SetLocaleID</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13448#13448</link>
  <description>Ok.
&lt;br /&gt;
So, returning to my WinCCExplorer Text Library messages, how can I get for instance spanish text using COMServerWrapper and UA Client?
&lt;br /&gt;
Thanks a lot.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3841</comments>
  <dc:creator>marina.ceccherini</dc:creator>
  <pubDate>Thu, 02 Sep 2010 09:52:13 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13448#13448</guid>
 </item>
 <item>
  <title>Connection problems via DCOM using 2 network interfaces</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13447#13447</link>
  <description>We want to connect 2 OPC clients on one host to an OPC server on another host via DCOM.
&lt;br /&gt;
The problem is that each client should use a dedicated network interface for communication and this seems to be impossible.
&lt;br /&gt;
Though we specify IP address of the second network interface for the
&lt;br /&gt;
second client, the communication takes place via the first interface.
&lt;br /&gt;

&lt;br /&gt;
Can anybody tell me why this happens and how we can avoid this?
&lt;br /&gt;

&lt;br /&gt;
Thanks in advance for any hints
&lt;br /&gt;

&lt;br /&gt;
Andreas</description>
  <category>DCOM</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3886</comments>
  <dc:creator>lugbauer</dc:creator>
  <pubDate>Wed, 01 Sep 2010 10:21:44 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13447#13447</guid>
 </item>
 <item>
  <title>RE: OPC UA Profiles</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13446#13446</link>
  <description>The SDK has the support required to implement these facets:
&lt;br /&gt;

&lt;br /&gt;
Base Server Facet
&lt;br /&gt;
Core Server Facet
&lt;br /&gt;
Standard UA Server
&lt;br /&gt;
DataAccess Server Facet
&lt;br /&gt;
Standard DataChange Subscription Server Facet
&lt;br /&gt;
Micro Embedded Device Server
&lt;br /&gt;
Embedded DataChange Subscription Server Facet
&lt;br /&gt;
Address Space Notifier Server Facet 
&lt;br /&gt;
Standard Event Subscription Server Facet
&lt;br /&gt;
Method Server Facet
&lt;br /&gt;
ComplexType Server Facet
&lt;br /&gt;
A &amp;amp; C Alarm Server Facet
&lt;br /&gt;
A &amp;amp; C Simple Server Facet
&lt;br /&gt;
A &amp;amp; C Enable Server Facet
&lt;br /&gt;
A &amp;amp; E Wrapper Facet
&lt;br /&gt;
A &amp;amp; C Address Space Instance Server Facet
&lt;br /&gt;
A &amp;amp; C Acknowledgeable Alarm Server Facet
&lt;br /&gt;
A &amp;amp; C Dialog Server Facet
&lt;br /&gt;
A &amp;amp; C Non-Exclusive Alarming Server Facet
&lt;br /&gt;
A &amp;amp; C Exclusive Alarming Server Facet
&lt;br /&gt;
A &amp;amp; C Simple Server Facet
&lt;br /&gt;

&lt;br /&gt;
The Sample Server and the Quickstart Servers implement all of them. However, the exact set of facets supported by a given Server depends on the Server.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3627</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Wed, 01 Sep 2010 10:03:24 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13446#13446</guid>
 </item>
 <item>
  <title>RE: OPC UA Profiles</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13445#13445</link>
  <description>And what about the sample server? Which profiles does it support?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3627</comments>
  <dc:creator>jbudzynski</dc:creator>
  <pubDate>Wed, 01 Sep 2010 06:09:41 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13445#13445</guid>
 </item>
 <item>
  <title>UA HA Quickstart?</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13444#13444</link>
  <description>Any update on when the UA HA Quickstart might be available.  I understand that we could interpolate the specifics by looking at the COM Wrapper, but it would be nice to see a full on working example.
&lt;br /&gt;

&lt;br /&gt;
Best Regards,
&lt;br /&gt;

&lt;br /&gt;
Ken</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3885</comments>
  <dc:creator>kenhanson</dc:creator>
  <pubDate>Tue, 31 Aug 2010 21:10:07 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13444#13444</guid>
 </item>
 <item>
  <title>RE: New OPC UA Training Videos and Webinars?</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13443#13443</link>
  <description>Sorry the webinar work was deferred in order to focus on getting HA and CTT released.
&lt;br /&gt;

&lt;br /&gt;
There is nothing deeper than quickstarts and the webinars. If you have specific questions I will answer them on this forum.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3772</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 31 Aug 2010 13:05:38 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13443#13443</guid>
 </item>
 <item>
  <title>Timing for Callback Retries</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13442#13442</link>
  <description>I have an OPC Client having callback connection for some items to OPC DA 2.5a Server and when I am crashing OPC Client then OPC Server is keep trying for Callbacks. I have noticed it does for some 10 Minutes. 
&lt;br /&gt;

&lt;br /&gt;
How this Callback Retries timing are controlled? 
&lt;br /&gt;

&lt;br /&gt;
Thank you.</description>
  <category>DA (Data Access)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3884</comments>
  <dc:creator>jal</dc:creator>
  <pubDate>Tue, 31 Aug 2010 12:49:59 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13442#13442</guid>
 </item>
 <item>
  <title>Write a Value With ValueRanks</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13441#13441</link>
  <description>hi,
&lt;br /&gt;

&lt;br /&gt;
i want to write a value with the java stack, which has more dimensions (is an array).
&lt;br /&gt;

&lt;br /&gt;
This is done in c#:
&lt;br /&gt;

&lt;br /&gt;
in class opc.ua.TypeInfo:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp;public static TypeInfo Construct&amp;#40;Type systemType&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // check for null.
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &amp;#40;systemType == null&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return TypeInfo.Unknown;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // using strings in switch statements is much faster than the typeof&amp;#40;&amp;#41; operator.
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string name = systemType.Name;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // parse array types.
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string dimensions = null;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &amp;#40;name&amp;#91;name.Length-1&amp;#93; == '&amp;#93;'&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int index = name.IndexOf&amp;#40;'&amp;#91;'&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &amp;#40;index != -1&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dimensions = name.Substring&amp;#40;index&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name = name.Substring&amp;#40;0, index&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
and thats the count of the array (in the same method):
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;nbsp; int count = 1;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for &amp;#40;int ii = 1; ii &amp;lt; dimensions.Length-1; ii++&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &amp;#40;dimensions&amp;#91;ii&amp;#93; == ','&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count++;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
it looks total clear for me. But when i started to implement it in java, i looked in the Variant class and the Constructor removed the [] brackets, so i got the ValueRank xxx and something for example like
&lt;br /&gt;
from java.lang.String[] to java.lang.String
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
public Variant&amp;#40;Object value&amp;#41; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;this.value = value;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;if &amp;#40;value != null&amp;#41; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;compositeClass = value.getClass&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;if&amp;#40;compositeClass == Variant.class&amp;#41; &amp;#123;//test TODO
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;this.value = &amp;#40;&amp;#40;Variant&amp;#41;value&amp;#41;.getValue&amp;#40;&amp;#41;; //test TODO
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;if &amp;#40;value != null&amp;#41; &amp;#123;
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;compositeClass = &amp;#40;&amp;#40;Variant&amp;#41;value&amp;#41;.getCompositeClass&amp;#40;&amp;#41;;//test TODO
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125; else &amp;#123;
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;return;
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
//&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;//test TODO
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;while &amp;#40;compositeClass.isArray&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;amp;&amp;amp; !compositeClass.equals&amp;#40;byte&amp;#91;&amp;#93;.class&amp;#41;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;compositeClass = compositeClass.getComponentType&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;assertValidClass&amp;#40;compositeClass&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Why is this done? Does this make sense?
&lt;br /&gt;

&lt;br /&gt;
Whats the way to get the array&amp;quot;count&amp;quot; in the javastack? The ValueRanks in the Nodes are not enough, i guess.
&lt;br /&gt;

&lt;br /&gt;
Maybe it is the wrong section to ask for, please move this post!
&lt;br /&gt;

&lt;br /&gt;
best regards</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3883</comments>
  <dc:creator>Thomas_Z</dc:creator>
  <pubDate>Tue, 31 Aug 2010 12:47:02 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13441#13441</guid>
 </item>
 <item>
  <title>RE: OPC UA Profiles</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13440#13440</link>
  <description>THe sample client should implement Core Client Facet Profile but it has not been officially tested. It also implements features that are not in the Core Client Facet Profile.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3627</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 31 Aug 2010 12:41:40 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13440#13440</guid>
 </item>
 <item>
  <title>RE: Monitoring a know PLC tag from Java.</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13439#13439</link>
  <description>Thanks!
&lt;br /&gt;

&lt;br /&gt;
The NamespaceIndex that I should use is 4, and the string was just &amp;quot;Fabio-X731-$IO X422A K2 HWForced&amp;quot; for example (without the &amp;quot;F:Path&amp;quot;).
&lt;br /&gt;

&lt;br /&gt;
Best Regards,
&lt;br /&gt;
Fábio Ferreira</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3598</comments>
  <dc:creator>Dobipt</dc:creator>
  <pubDate>Tue, 31 Aug 2010 11:28:50 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13439#13439</guid>
 </item>
 <item>
  <title>RE: OPC UA Profiles</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13438#13438</link>
  <description>What profiles does the sample client support? Does it support Core Client Facet Profile ?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3627</comments>
  <dc:creator>jbudzynski</dc:creator>
  <pubDate>Tue, 31 Aug 2010 10:06:05 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13438#13438</guid>
 </item>
 <item>
  <title>Exception on KeepAlive</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13437#13437</link>
  <description>While creating a custom client I have run into a significant road block (I ended up having to change some of the code in Xi.Client.Base to get around it.
&lt;br /&gt;

&lt;br /&gt;
Here is the scenario:
&lt;br /&gt;

&lt;br /&gt;
1) Connect up to any Xi Server with any Xi Client (even the generic client supplied with the code)
&lt;br /&gt;
2) Kill the Xi server abruptly.
&lt;br /&gt;
3) Wait for keep alive on the client
&lt;br /&gt;
4) When the keep alive occurs, XiContext.ClientKeepAlive is called, since IResourceManagement is null, the following code throws the exception:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;
&lt;br /&gt;
if &amp;#40;null == _IResourceManagement&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;throw new System.ApplicationException&amp;#40;&amp;quot;No Server Context&amp;quot;&amp;#41;;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
The calling method is a Threading.Timer and so this code:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;/// &amp;lt;summary&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;/// This method is the Timer Callback for keeping contexts alive.
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;/// &amp;lt;/summary&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;/// &amp;lt;param name=&amp;quot;state&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;private static void KeepContextsAlive&amp;#40;object state&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;DateTime timeNow = DateTime.UtcNow;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;List&amp;lt;XiContext&amp;gt; sleepingContexts = null;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;lock &amp;#40;_ActiveContexts&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;sleepingContexts = _ActiveContexts.Values.Where&amp;#40;ctx =&amp;gt; ctx.CheckIdleTime&amp;#40;timeNow&amp;#41;&amp;#41;.ToList&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;if &amp;#40;0 &amp;lt; sleepingContexts.Count&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;foreach &amp;#40;XiContext ctx in sleepingContexts&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ctx.ClientKeepAlive&amp;#40;&amp;#41;;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Has no try/catch block which ends up throwing an unhandled exception that you cannot handle (it's running on the Threading.Timer).
&lt;br /&gt;

&lt;br /&gt;
What is the best way to handle this? Shouldn't the keep alive be smart enough to handle this case and properly remove the context? 
&lt;br /&gt;

&lt;br /&gt;
This behaviour happens on every single Xi Server shutdown.</description>
  <category>Xi (Express Interface)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3882</comments>
  <dc:creator>GaryT</dc:creator>
  <pubDate>Mon, 30 Aug 2010 19:58:26 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13437#13437</guid>
 </item>
 <item>
  <title>RE: Server PC &amp;amp; Client PC in different time</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13436#13436</link>
  <description>Try ApplicationConfiguration/ServerConfiguration/MaxRequestAge
&lt;br /&gt;
Default is 5 mins.
&lt;br /&gt;
Units are in milliseconds.
&lt;br /&gt;

&lt;br /&gt;
The time rule is to prevent attackers intercepting messages and resending them at a later time.
&lt;br /&gt;

&lt;br /&gt;
I recommend you use a time service NTP. It will be a lot less of a hassel in the long run.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3879</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Mon, 30 Aug 2010 10:47:51 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13436#13436</guid>
 </item>
 <item>
  <title>RE: ChangePreferredLocales and AE ComServerWrapped</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13435#13435</link>
  <description>The wrapper currently shares one instance across all sessions so setting a locale based on one session is not an option. 
&lt;br /&gt;

&lt;br /&gt;
That said, the ComClientManager class is intended to allow this capability to be added with relatively little effort. The downside is it will be less efficient to have a one COM server instance per session.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3881</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Mon, 30 Aug 2010 10:35:01 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13435#13435</guid>
 </item>
 <item>
  <title>RE: Server PC &amp;amp; Client PC in different time</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13434#13434</link>
  <description>We are using OPS UA .NET SDK (file versions 1.0.250.3). Is there a specific parameter in server configuration that can be adjusted to make the server-client time difference possibility longer without making the system security fragile? We are using opc.tcp-protocol.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3879</comments>
  <dc:creator>Anza</dc:creator>
  <pubDate>Mon, 30 Aug 2010 10:01:59 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13434#13434</guid>
 </item>
 <item>
  <title>ChangePreferredLocales and AE ComServerWrapped</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13433#13433</link>
  <description>Hi,
&lt;br /&gt;
our application acquires AE attributes using ComServerWrapper and UA Client (we are using sdk v.1.01.318.0). 
&lt;br /&gt;
We must be able to change the AE Server localeID at runtime.
&lt;br /&gt;
To do that, we added a m_session.ChangePreferredLocales call in our UA Client but we continue to receive AE attributes in the former language (using m_session.UpdateSession we got same results).
&lt;br /&gt;

&lt;br /&gt;
ComServerWrapper side, the call stack is the following:
&lt;br /&gt;
Opc.Ua.Server.Session.UpdateLocaleIds
&lt;br /&gt;
Opc.Ua.Server.Session.Activate
&lt;br /&gt;
Opc.Ua.Server.SessionManager.ActivateSession
&lt;br /&gt;
Opc.Ua.Server.StandardServer.ActivateSession
&lt;br /&gt;
Opc.Ua.EndpontBase.ActivateSession
&lt;br /&gt;
 
&lt;br /&gt;
Don't we miss a call to Opc.Ua.ComClient.ComClient.SetLocale?
&lt;br /&gt;

&lt;br /&gt;
Thanks a lot for any suggestion.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3881</comments>
  <dc:creator>marina.ceccherini</dc:creator>
  <pubDate>Mon, 30 Aug 2010 10:01:30 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13433#13433</guid>
 </item>
 <item>
  <title>RE: New OPC UA Training Videos and Webinars?</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13431#13431</link>
  <description>Dear Randy,
&lt;br /&gt;

&lt;br /&gt;
Any news on the next webinars?
&lt;br /&gt;

&lt;br /&gt;
Related to this: concerning support for developing applications with the UA .NET SDK, am I missing certain resources? There is the helpfile of the SDK (which contains the comments in the SDK code) and there are these (interesting) developer webinars, but are there any tutorials based on the .NET SDK that touch more specific issues and go deeper than the webinars? A lot of  questions on these forums could be topics of &amp;quot;How-To-Tutorials&amp;quot;!
&lt;br /&gt;

&lt;br /&gt;
Thank you for feedback on this!
&lt;br /&gt;

&lt;br /&gt;
Kind Regards,
&lt;br /&gt;

&lt;br /&gt;
Vincent</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3772</comments>
  <dc:creator>Vincent Vanderputten</dc:creator>
  <pubDate>Fri, 27 Aug 2010 11:32:41 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13431#13431</guid>
 </item>
 <item>
  <title>RE: Server PC &amp;amp; Client PC in different time</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13430#13430</link>
  <description>There are security configuration paramaters that control how much clock skew is allowed. What SDKs and what protocols were you using? However, the client and server must be reasonably synchronized because it would open security holes if they are not.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3879</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Fri, 27 Aug 2010 11:29:15 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13430#13430</guid>
 </item>
 <item>
  <title>Server PC &amp;amp; Client PC in different time</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13429#13429</link>
  <description>Hi!
&lt;br /&gt;

&lt;br /&gt;
If a OPC UA server PC is in different time than the client PC, UA connection won't work. Is this a default functionality of the .NET OPC UA?
&lt;br /&gt;

&lt;br /&gt;
We have solved this problem by synchronizing all PC's clocks to same time but it is not a clean solution because there is always a possibility that any of the PCs will get out of sync.
&lt;br /&gt;

&lt;br /&gt;
Is there a clean way to fix this in configuration etc.? To somehow adjust that server and client won't have to be in the &amp;quot;same time&amp;quot;.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
BR.
&lt;br /&gt;
Antero Salonen</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3879</comments>
  <dc:creator>Anza</dc:creator>
  <pubDate>Fri, 27 Aug 2010 11:11:57 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13429#13429</guid>
 </item>
 <item>
  <title>RE: Monitoring a know PLC tag from Java.</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13428#13428</link>
  <description>Check the NodeId that you are using. In your screenshot, the NodeId that is shown (upper right corner) is namespaceIndex=4;string=&amp;quot;F:Path:Fabio&amp;quot;.  So it is difficult to tell if the NodeId that you are now using, is referring to the correct node.
&lt;br /&gt;

&lt;br /&gt;
NamespaceIndex=1 is reserved for &amp;quot;server nodes&amp;quot;, which typically do not contain actual data nodes. Probably you need to use NamespaceIndex=4 for your node as well. It seems to relate to the nodes in the DA server.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3598</comments>
  <dc:creator>jaro</dc:creator>
  <pubDate>Fri, 27 Aug 2010 07:19:36 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13428#13428</guid>
 </item>
 <item>
  <title>RE: Toolkit</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13427#13427</link>
  <description>u can also try &lt;a href=&quot;http://www.matrikonopc.com&quot; target=&quot;_blank&quot;&gt;http://www.matrikonopc.com&lt;/a&gt;</description>
  <category>Product Requests</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=2831</comments>
  <dc:creator>djpattsouls</dc:creator>
  <pubDate>Thu, 26 Aug 2010 15:30:39 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13427#13427</guid>
 </item>
 <item>
  <title>OPC UA Client with csharp</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13426#13426</link>
  <description>Hello,
&lt;br /&gt;

&lt;br /&gt;
 i have to develop a OPC UA Client with C#
&lt;br /&gt;

&lt;br /&gt;
 i need the Informations about how  to get a pricelist about the  :
&lt;br /&gt;

&lt;br /&gt;
    the  .NET OPC UA Stack and  the  .NET OPC UA Client SDK
&lt;br /&gt;
   
&lt;br /&gt;
I couldn´t get the Information on the Opc Foundation site.
&lt;br /&gt;

&lt;br /&gt;
maybe you can give me some Link or something like that
&lt;br /&gt;

&lt;br /&gt;
i need ur help about it pleaseeeeeeeeeee
&lt;br /&gt;

&lt;br /&gt;
Mail   &lt;a href=&quot;mailto:simokouam@hotmail.com&quot;&gt;simokouam@hotmail.com&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Best Regards</description>
  <category>Product Requests</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3878</comments>
  <dc:creator>djpattsouls</dc:creator>
  <pubDate>Thu, 26 Aug 2010 15:16:55 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13426#13426</guid>
 </item>
 <item>
  <title>RE: Monitoring a know PLC tag from Java.</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13425#13425</link>
  <description>Hello,
&lt;br /&gt;

&lt;br /&gt;
I'm having some issues to get the value of a specific NodeId. 
&lt;br /&gt;

&lt;br /&gt;
I try the two options that you refer in this post. But I can't manage to put them working.
&lt;br /&gt;

&lt;br /&gt;
This image shows the structure of my OPC UA Server:
&lt;br /&gt;
&lt;img src=&quot;http://i.imagehost.org/0361/uaExpert.png&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;
When I use the method browse it has this result:
&lt;br /&gt;
Code:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;NodeId nodeId = Identifiers.RootFolder;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;client.getAddressSpace&amp;#40;&amp;#41;.setMaxReferencesPerNode&amp;#40;1000&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;List&amp;lt;ReferenceDescription&amp;gt; references = client.getAddressSpace&amp;#40;&amp;#41;.browse&amp;#40;nodeId&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;for &amp;#40;int i = 0; i &amp;lt; references.size&amp;#40;&amp;#41;; i++&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;printf&amp;#40;&amp;quot;%d - %s\n&amp;quot;, i, referenceToString&amp;#40;references.get&amp;#40;i&amp;#41;&amp;#41;&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Result:				
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;0 - Views&amp;#58; FolderType &amp;#40;ReferenceType=Organizes, BrowseName=Views&amp;#41;
&lt;br /&gt;
1 - Objects&amp;#58; FolderType &amp;#40;ReferenceType=Organizes, BrowseName=Objects&amp;#41;
&lt;br /&gt;
2 - Types&amp;#58; FolderType &amp;#40;ReferenceType=Organizes, BrowseName=Types&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
If I get de NamespaceTable I get this result:
&lt;br /&gt;
Code:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;NamespaceTable nt = client.getNamespaceTable&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;for &amp;#40;int i = 0; i &amp;lt; 5; i++&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;System.out.println&amp;#40;&amp;quot;index= &amp;quot;+i+&amp;quot; Uri= &amp;quot;+nt.getUri&amp;#40;i&amp;#41;&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
				
&lt;br /&gt;
Result:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;index= 0 Uri= http&amp;#58;//opcfoundation.org/UA/
&lt;br /&gt;
index= 1 Uri= urn&amp;#58;fabio-c34316393&amp;#58;UnifiedAutomation&amp;#58;UaGateway
&lt;br /&gt;
index= 2 Uri= http&amp;#58;//opcfoundation.org/UA/DI/
&lt;br /&gt;
index= 3 Uri= http&amp;#58;//unifiedautomation.com/Configuration/
&lt;br /&gt;
index= 4 Uri= opcda&amp;#58;//localhost/TACOS.OPCServices.DA.1&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Finnaly when I try to read a specific NodeId, I can't get the path rigth. I already tried with &amp;quot;Root&amp;quot; and &amp;quot;Fabio-X731-$IO X422A K2 HWForced&amp;quot; (I get this id by browsing) and they give the same error.
&lt;br /&gt;

&lt;br /&gt;
Code:
&lt;br /&gt;

&lt;br /&gt;
	&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;int ns = nt.getIndex&amp;#40;&amp;quot;urn&amp;#58;fabio-c34316393&amp;#58;UnifiedAutomation&amp;#58;UaGateway&amp;quot;&amp;#41;;
&lt;br /&gt;
System.out.println&amp;#40;ns&amp;#41;;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br /&gt;
// Tag we want to get to
&lt;br /&gt;
String name = &amp;quot;Fabio-X731-$IO X422A K2 HWForced&amp;quot;;
&lt;br /&gt;
// Create the node
&lt;br /&gt;
NodeId ni = new NodeId&amp;#40;ns, name&amp;#41;; 
&lt;br /&gt;
System.out.println&amp;#40;ni.toString&amp;#40;&amp;#41;&amp;#41;;
&lt;br /&gt;
client.readValue&amp;#40;ni&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
	
&lt;br /&gt;
Result:
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;ns=1;s=Fabio-X731-$IO X422A K2 HWForced
&lt;br /&gt;
com.prosysopc.ua.StatusException StatusCode=Bad_NodeIdUnknown &amp;#40;0x80340000&amp;#41; &amp;quot;The node id refers to a node that does not exist in the server address space.&amp;quot;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at com.prosysopc.ua.client.UaClient.a&amp;#40;Unknown Source&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at com.prosysopc.ua.client.UaClient.readAttribute&amp;#40;Unknown Source&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at com.prosysopc.ua.client.UaClient.readValue&amp;#40;Unknown Source&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at bios.schneider.com.CommunicationSchneiderOPC.getTag&amp;#40;CommunicationSchneiderOPC.java&amp;#58;372&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;at bios.schneider.test.testComm.main&amp;#40;testComm.java&amp;#58;25&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
	
&lt;br /&gt;

&lt;br /&gt;
Can you give some tip in how I can do this?
&lt;br /&gt;

&lt;br /&gt;
Thanks in advance!
&lt;br /&gt;

&lt;br /&gt;
Best Regards,
&lt;br /&gt;
Fábio Ferreira</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3598</comments>
  <dc:creator>Dobipt</dc:creator>
  <pubDate>Thu, 26 Aug 2010 13:38:39 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13425#13425</guid>
 </item>
 <item>
  <title>RE: Creating custom data types</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13424#13424</link>
  <description>Hi Randy,
&lt;br /&gt;
thanks for your explanation, it clarifies very well the general logic behind, what I didn't know before.
&lt;br /&gt;

&lt;br /&gt;
I think I have to try it out by myself, by following your hints. It's not very urgent for the time being, but we will have (high probability) also later the need of encoding custom structures, which in fact are the variables coming from field devices.
&lt;br /&gt;

&lt;br /&gt;
Thank you, best regards.
&lt;br /&gt;
Emilio</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3872</comments>
  <dc:creator>emilio</dc:creator>
  <pubDate>Thu, 26 Aug 2010 11:08:33 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13424#13424</guid>
 </item>
 <item>
  <title>RE: Creating custom data types</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13423#13423</link>
  <description>You need to have a way to serialize the structure. The SDK model compiler will generate data types that include UA Binary and XML serialization code. Creating this code by hand is quite tedious so you should use the model compiler for any custom data types.
&lt;br /&gt;

&lt;br /&gt;
If you already have structures which can be serialized you will need to create one or more DataTypeEncoding nodes which identify your serialization format (e.g. ZIP). These DataTypeEncoding nodes are targets of HasEncoding references from the DataType node.
&lt;br /&gt;

&lt;br /&gt;
A DataType can support multiple data formats which is why there are multiple DataTypeEncoding nodes. There must be at least one encoding with a BrowseName of &amp;quot;Default XML&amp;quot; or &amp;quot;Default Binary&amp;quot;.
&lt;br /&gt;

&lt;br /&gt;
You would then serialize the structure manually as a ByteString or XmlElement. This would then be set as the Body of an ExtensionObject. The TypeId of the ExtensionObject would be the NodeId of the DataTypeEncoding that describes the format of the blob.
&lt;br /&gt;

&lt;br /&gt;
Clients will not be able to unpack the structure unless they recognize the DataTypeEncoding. If they don't recognize the DataTypeEncoding they will follow the HasDescription references to the DataTypeDescription nodes which contain the schema that describes the structure. See Part 3 for more information on how to publish schemas in the Server address space.
&lt;br /&gt;

&lt;br /&gt;
Does this clear things up a bit?</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3872</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Thu, 26 Aug 2010 10:36:53 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13423#13423</guid>
 </item>
 <item>
  <title>the AE sample code fails:E_NETWORK_ERROR</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13422#13422</link>
  <description>Hi there:
&lt;br /&gt;
In HRESULT COPCEventAreaBrowser::ChangeBrowsePosition ()
&lt;br /&gt;
use ThreadSafe&amp;lt;COPCEventAreaBrowser&amp;gt; AutoLock(*this);  // to calls Lock() and Unlock()
&lt;br /&gt;

&lt;br /&gt;
but when use the demo client to connect the AE server ,it fails.
&lt;br /&gt;

&lt;br /&gt;
&lt;img src=&quot;http://fapomatic.com/1030/q1_1.jpg&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;
E_NETWORK_ERROR
&lt;br /&gt;
IOPCEventAreaBrowser.ChangeBrowserPosition
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
what's wrong with these? my IDE is VS2008,
&lt;br /&gt;
thanks</description>
  <category>AE (Alarms &amp; Events)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3877</comments>
  <dc:creator>banggou</dc:creator>
  <pubDate>Thu, 26 Aug 2010 02:08:46 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13422#13422</guid>
 </item>
 <item>
  <title>RE: Creating custom data types</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13421#13421</link>
  <description>Hello everyone, is there any sample code available (or simple explanation) concerning the problem described here above?
&lt;br /&gt;

&lt;br /&gt;
Thanks for support.
&lt;br /&gt;
Emilio</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3872</comments>
  <dc:creator>emilio</dc:creator>
  <pubDate>Wed, 25 Aug 2010 14:12:43 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13421#13421</guid>
 </item>
 <item>
  <title>RE: UaGateway - Unified Automation</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13420#13420</link>
  <description>OK that makes things clear:
&lt;br /&gt;

&lt;br /&gt;
There is a problem in the TACO Server, returning some strange RPC error on the Advise for shutdown. This might indicate some serious issues in the server. By the way, with this behavior the server will not be compliant with the OPC Specification.
&lt;br /&gt;

&lt;br /&gt;
The Matrikon Client ignores this server side error and continues operation without using this callback. 
&lt;br /&gt;

&lt;br /&gt;
The UaGateway wants this callback, because it reacts slightly different when a server suddenly disappears or when a server (regularly) fires the shutdown. We might ignore this server-side error in the future version of UaGateway to be less error prone.</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3870</comments>
  <dc:creator>UnifiedAutomation</dc:creator>
  <pubDate>Wed, 25 Aug 2010 12:48:07 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13420#13420</guid>
 </item>
 <item>
  <title>RE: UaGateway - Unified Automation</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13419#13419</link>
  <description>You are right!
&lt;br /&gt;

&lt;br /&gt;
Could not ADVISE SHUTDOWN for server TACOS.OPCServices.DA.1; HR = 80010105</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3870</comments>
  <dc:creator>Dobipt</dc:creator>
  <pubDate>Wed, 25 Aug 2010 09:58:45 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13419#13419</guid>
 </item>
 <item>
  <title>RE: UaGateway - Unified Automation</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13418#13418</link>
  <description>The Matrikon OPC Explorer is also using Advise for Shutdown but it continues the normal operation even if the Advise fails.
&lt;br /&gt;

&lt;br /&gt;
In the GUI of the Matrikon Explorer go to View-&amp;gt;Error log:
&lt;br /&gt;
After you connect to the TAC Server you should see an entry in the error log:
&lt;br /&gt;
Could not ADVISE SHUTDOWN for server ...; HR=0x80010105
&lt;br /&gt;

&lt;br /&gt;
Can you please verify that?
&lt;br /&gt;

&lt;br /&gt;
Best Regards,
&lt;br /&gt;
Unified Automation support team</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3870</comments>
  <dc:creator>UnifiedAutomation</dc:creator>
  <pubDate>Wed, 25 Aug 2010 09:43:31 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13418#13418</guid>
 </item>
 <item>
  <title>RE: UaGateway - Unified Automation</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13416#13416</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;UnifiedAutomation wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;
&lt;br /&gt;
What kind of a server is that TACO Server (Vendor, Product Name). Has it been compliance tested already?
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
Vendor: TAC Schnieder
&lt;br /&gt;
Product Name: TAC Vista OPC Server
&lt;br /&gt;

&lt;br /&gt;
I don't know anything about compliance tested already.
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;text-decoration: underline&quot;&gt;This is a quote from the manual:&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic&quot;&gt;Vista OPC Server is an add-on module to Vista Server, enabling third party OPC-compliant presentation systems to interface with TAC products. 
&lt;br /&gt;
The server consists of two separate interfaces:
&lt;br /&gt;
  -OPC Data Access (DA), version 1.0A and 2.05A.
&lt;br /&gt;
  -OPC Alarms and Events (AE), version 1.10.&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;UnifiedAutomation wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;
&lt;br /&gt;
What other DA Client have you been using to test the connection? 
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;Matrikon Browser:&lt;/span&gt;
&lt;br /&gt;
&lt;img src=&quot;http://i.imagehost.org/0143/Matrikon-browser.png&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;TAC OPC Tool:&lt;/span&gt;
&lt;br /&gt;
&lt;img src=&quot;http://i.imagehost.org/0465/TAC-Object-Server-OPC-DA.png&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;
Thank you once again!</description>
  <category>UA (Unified Architecture)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3870</comments>
  <dc:creator>Dobipt</dc:creator>
  <pubDate>Tue, 24 Aug 2010 21:59:35 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13416#13416</guid>
 </item>
 <item>
  <title>RE: Reading XML files with an OPC Client?</title>
  <link>http://www.opcfoundation.org/forum/viewtopic.php?p=13415#13415</link>
  <description>They will have to write code to get the data from the OPC client to their SQL server. Do they already have something in place? If so what is it?</description>
  <category>DX (Data eXchange)</category>
  <comments>http://www.opcfoundation.org/forum/posting.php?mode=reply&amp;t=3876</comments>
  <dc:creator>Randy</dc:creator>
  <pubDate>Tue, 24 Aug 2010 19:47:52 GMT</pubDate>
  <guid isPermaLink="true">http://www.opcfoundation.org/forum/viewtopic.php?p=13415#13415</guid>
 </item>
</channel>
</rss>
