The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Netiom-xAP



------=_NextPart_000_01DB_01C5816A.48E5BFA0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Okay - I have had a response from Roy at Phaedrus and I have done some
more testing with the counters.

First - I have found that the BSC command does work for setting the
counter, eg.

xap-header
{
v=12
hop=1
uid=FF411100
class=xAPBSC.cmd
source=mi4.homeseer.dpjukebox.Master
target=phaedrus.netiom.location:counter.9
}
counter.state.1
{
id=39
level=900
}

Roy has responded re the counter overflow with the following comments:

"Handling a counter overflow always causes problems. We can do one of
3
things:

1. Freeze the counter at the upper limit. This is OK but if an
application is looking for a change without checking for the upper
boundary then it can prevent it from functioning correctly.

2. Reset to zero. In this case the monitoring application could get
confused in any number of ways.

3. Allow the counter to overflow, in this case it will return a negative
value. This has two main advantages. It imeadiately indicates that there
has been an overflow and because it is done in a defined manner it
allows the application to derive the amount by which the counter has
overflowed.

As with anything of this nature it is better for the application to
monitor and maintain the couters inteligently, applying a reset as soon
as the counter nears its overflow level."

A reasonable response indicating that the overflow is probably planned.
If we think the counters should react differently then we should come up
with an appropriate response. I think I am reasonably happy with this
approach but would be interested in any other ideas.

BR
David



-----Original Message-----
From: xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx] On
Behalf Of David Pullen
Sent: 01 July 2005 20:28
To: xap_automation@xxxxxxx
Subject: RE: [xap_automation] Netiom-xAP

Rob
I don't believe you can switch off individual node events.
The following command will set the counter to 0. You can actually set to
any acceptable value.
xap-header
{
v=12
hop=1
uid=FF411100
class=netiom.cmd
source=mi4.homeseer.dpjukebox.Master
target=phaedrus.netiom.location
}
counters.state
{
counter.1=0
}


------=_NextPart_000_01DB_01C5816A.48E5BFA0
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
xmlns="http://www.w3.org/TR/REC-html40";>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C5816A.4823A820";>
<title>RE: [xap_automation] Netiom-xAP</title>
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:ForgetLastTabAlignment/>
<w:DoNotUseHTMLParagraphAutoSpacing/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:553679495 -2147483648 8 0 66047 0;}
@font-face
{font-family:"Microsoft Sans Serif";
panose-1:2 11 6 4 2 2 2 2 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:553679495 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin-top:15.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-indent:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
mso-list:l0 level1 lfo2;
tab-stops:34.0pt;
font-size:14.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";
mso-font-kerning:14.0pt;
font-weight:bold;
mso-bidi-font-weight:normal;}
h2
{mso-style-next:Normal;
margin-top:15.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-indent:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:2;
mso-list:l0 level2 lfo3;
tab-stops:34.0pt;
font-size:12.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";
font-weight:bold;
mso-bidi-font-weight:normal;}
h3
{mso-style-next:Normal;
margin-top:15.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-indent:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:3;
mso-list:l0 level3 lfo4;
tab-stops:34.0pt;
font-size:12.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";
font-weight:normal;}
h4
{mso-style-next:Normal;
margin-top:15.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-indent:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:4;
mso-list:l0 level4 lfo5;
font-size:12.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";
font-weight:normal;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:widow-orphan;
tab-stops:0cm center 8.0cm right 16.0cm;
font-size:12.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
{margin-top:12.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:widow-orphan;
tab-stops:0cm 42.55pt center 8.0cm right 16.0cm;
font-size:8.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
tt
{font-family:"Courier New";
mso-ascii-font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";}
p.Bulletlist, li.Bulletlist, div.Bulletlist
{mso-style-name:"Bullet list";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:18.0pt;
margin-bottom:.0001pt;
text-align:justify;
text-indent:-18.0pt;
mso-pagination:widow-orphan;
mso-list:l1 level1 lfo1;
tab-stops:list 18.0pt;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.TableBody, li.TableBody, div.TableBody
{mso-style-name:"Table Body";
margin-top:3.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.TableHeader, li.TableHeader, div.TableHeader
{mso-style-name:"Table Header";
mso-style-parent:"Table Body";
margin-top:3.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:10.0pt;
mso-bidi-font-size:12.0pt;
font-family:Arial;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
font-weight:bold;
mso-bidi-font-weight:normal;}
span.EmailStyle24
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.9pt 70.9pt 70.9pt 70.9pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:574822606;
mso-list-template-ids:521675182;}
@list l0:level1
{mso-level-style-link:"Heading 1";
mso-level-tab-stop:18.0pt;
mso-level-number-position:left;
margin-left:0cm;
text-indent:0cm;}
@list l0:level2
{mso-level-style-link:"Heading 2";
mso-level-text:"%1\.%2";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
margin-left:0cm;
text-indent:0cm;}
@list l0:level3
{mso-level-style-link:"Heading 3";
mso-level-text:"%1\.%2\.%3";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
margin-left:0cm;
text-indent:0cm;}
@list l0:level4
{mso-level-number-format:none;
mso-level-style-link:"Heading 4";
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:0cm;
text-indent:0cm;}
@list l0:level5
{mso-level-number-format:none;
mso-level-text:"%1\.%2\.%3\.%4\.%5";
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
margin-left:50.4pt;
text-indent:-50.4pt;}
@list l0:level6
{mso-level-number-format:none;
mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
margin-left:57.6pt;
text-indent:-57.6pt;}
@list l0:level7
{mso-level-number-format:none;
mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
mso-level-tab-stop:90.0pt;
mso-level-number-position:left;
margin-left:64.8pt;
text-indent:-64.8pt;}
@list l0:level8
{mso-level-number-format:none;
mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
mso-level-tab-stop:90.0pt;
mso-level-number-position:left;
margin-left:72.0pt;
text-indent:-72.0pt;}
@list l0:level9
{mso-level-number-format:none;
mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
margin-left:79.2pt;
text-indent:-79.2pt;}
@list l1
{mso-list-id:988287890;
mso-list-type:simple;
mso-list-template-ids:-1142795248;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-style-link:"Bullet list";
mso-level-text:\F0B7;
mso-level-tab-stop:18.0pt;
mso-level-number-position:left;
margin-left:18.0pt;
text-indent:-18.0pt;
font-family:Symbol;}
@list l2
{mso-list-id:996113988;
mso-list-template-ids:-1791432100;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level1 lfo7
{mso-level-start-at:0;
mso-level-numbering:continue;
mso-level-text:\F0A7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-GB link=blue vlink=blue style='tab-interval:36.0pt'>



<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf
format -->Okay
&#8211; I have had a response from
</span></font><st1:City><st1:place><font
size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;
color:navy'>Roy</span></font></st1:place></st1:City><font
size=2 color=navy
face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> at
Phaedrus and I have done some more testing with the
counters.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'>First &#8211; I have found that
the BSC
command does work for setting the counter, <span
class=SpellE>eg</span>.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><span
class=SpellE><span class=GramE><b><font size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans Serif";
color:blue;font-weight:bold'>xap</span></font></b></span></span><span
class=GramE><b><font size=1 color=blue face="Microsoft
Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans
Serif";color:blue;
font-weight:bold'>-header</span></font></b></span><b><font
size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans Serif";
color:blue;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><b><font
size=1 color=blue face="Microsoft Sans Serif"><span
style='font-size:8.5pt;
font-family:"Microsoft Sans
Serif";color:blue;font-weight:bold'>{</span></font></b><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier
New";color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span></span></font><b><font size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans
Serif";color:blue;
font-weight:bold'>v</span></font></b><font size=1
color=black face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier
New";color:black'>=12<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span></span></font><span
class=GramE><b><font size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans Serif";
color:blue;font-weight:bold'>hop</span></font></b><font
size=1 color=black
face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier New";
color:black'>=</span></font></span><font size=1
color=black face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier
New";color:black'>1<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span></span></font><span class=SpellE><span
class=GramE><b><font size=1
color=blue face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:
"Microsoft Sans
Serif";color:blue;font-weight:bold'>uid</span></font></b></span></span><span
class=GramE><font size=1 color=black face="Courier
New"><span style='font-size:
8.5pt;font-family:"Courier
New";color:black'>=</span></font></span><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier
New";color:black'>FF411100<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span></span></font><span
class=GramE><b><font size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans Serif";
color:blue;font-weight:bold'>class</span></font></b><font
size=1 color=black
face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier New";
color:black'>=</span></font></span><span
class=SpellE><font size=1 color=black
face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier New";
color:black'>xAPBSC.cmd</span></font></span><font
size=1 color=black
face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier New";
color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span></span></font><span
class=GramE><b><font size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans Serif";
color:blue;font-weight:bold'>source</span></font></b><font
size=1 color=black
face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier New";
color:black'>=</span></font></span><font size=1
color=black face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier
New";color:black'>mi4.homeseer.dpjukebox.Master<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span></span></font><span
class=GramE><b><font size=1 color=blue
face="Microsoft Sans Serif"><span
style='font-size:8.5pt;font-family:"Microsoft Sans Serif";
color:blue;font-weight:bold'>target</span></font></b><font
size=1 color=black
face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier New";
color:black'>=</span></font></span><font size=1
color=black face="Courier New"><span
style='font-size:8.5pt;font-family:"Courier
New";color:black'>phaedrus.netiom.location:counter.9<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><b><font
size=1 color=blue face="Microsoft Sans Serif"><span
style='font-size:8.5pt;
font-family:"Microsoft Sans
Serif";color:blue;font-weight:bold'>}</span></font></b><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier
New";color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier
New";color:black'>counter.state.1<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><b><font
size=1 color=blue face="Microsoft Sans Serif"><span
style='font-size:8.5pt;
font-family:"Microsoft Sans
Serif";color:blue;font-weight:bold'>{</span></font></b><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier
New";color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span><span
class=GramE>id=</span>39<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier New";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;
</span><span
class=GramE>level=</span>900<o:p></o:p></span></font></p>

<p class=MsoNormal
style='mso-layout-grid-align:none;text-autospace:none'><b><font
size=1 color=blue face="Microsoft Sans Serif"><span
style='font-size:8.5pt;
font-family:"Microsoft Sans
Serif";color:blue;font-weight:bold'>}</span></font></b><font
size=1 color=black face="Courier New"><span
style='font-size:8.5pt;font-family:
"Courier
New";color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><st1:City><st1:place><font size=2
color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Roy</span></font></st1:place></st1:City><font
size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;
color:navy'> has responded re the counter overflow with the following
comments:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:36.0pt'><font size=2
face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&#8220;Handling a counter
overflow
always causes problems. We can do one of 3
things:</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2
face=Arial><span
style='font-size:10.0pt;font-family:Arial'>1. Freeze the counter at the
upper
limit. This is OK but if an application is looking for a change without
checking for the upper boundary then it can prevent it from functioning
correctly.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:36.0pt'><font size=2
face=Arial><span
style='font-size:10.0pt;font-family:Arial'>2. Reset to zero. In this
case the
monitoring application could get confused in any number of
ways.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2
face=Arial><span
style='font-size:10.0pt;font-family:Arial'>3. Allow the counter to
overflow, in
this case it will return a negative value. This has two main advantages. It
<span
class=SpellE>imeadiately</span> indicates that there has been an
overflow and
because it is done in a defined manner it allows the application to derive
the
amount by which the counter has
overflowed.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New
Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2
face=Arial><span
style='font-size:10.0pt;font-family:Arial'>As with anything of this
nature it
is better for the application to monitor and maintain the <span
class=SpellE>couters</span>
<span class=SpellE>inteligently</span>, applying a reset as
soon as the counter
nears its overflow
level.&#8221;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
font-family:Arial'>A reasonable response indicating that the overflow is
probably
planned. If we think the counters should react differently then we should
come
up with an appropriate response. I think I am reasonably happy with this
approach but would be interested in any other
ideas.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
font-family:Arial'>BR<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
font-family:Arial'>David</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2
face=Tahoma><span
lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
xap_automation@xxxxxxx [mailto:xap_automation@xxxxxxx]
<b><span
style='font-weight:bold'>On Behalf Of </span></b>David
Pullen<br>
<b><span style='font-weight:bold'>Sent:</span></b>
01 July 2005 20:28<br>
<b><span style='font-weight:bold'>To:</span></b>
xap_automation@xxxxxxx<br>
<b><span
style='font-weight:bold'>Subject:</span></b> RE:
[xap_automation]
Netiom-xAP</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>Rob</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier New"'>I don't
believe you can
switch off</span></font> <font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier New"'>individual
node events.</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier New"'>The
following command will
set the counter to 0. You can actually set to any</span></font>
<font size=2
face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>acceptable</span></font>
<font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>value.
</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>xap-header</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>{</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;&nbsp;
v=12</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;&nbsp;
hop=1</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;&nbsp;
uid=FF411100</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;&nbsp;
class=netiom.cmd</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;&nbsp;
source=mi4.homeseer.dpjukebox.Master</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;&nbsp;
target=phaedrus.netiom.location</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>}</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>counters.state</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>{</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>&nbsp;&nbsp;
counter.1=0</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=2 face="Courier
New"><span
style='font-size:10.0pt;font-family:"Courier
New"'>}</span></font><o:p></o:p></p>

<p style='margin-left:36.0pt'><font size=3 face="Times New
Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</br><!-- **end egp html banner** -->


<?---- LSpots keywords ?>
<?---- HM ADS ?>


<!-- **begin egp html banner** -->


<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
<tt>YAHOO! GROUPS LINKS</tt>
</div>
<br>
<ul>
<tt><li type=square>&nbsp;Visit your group "<a
href="http://groups.yahoo.com/group/xap_automation";>xap_automation</a>"
on the web.<br>&nbsp;</tt>
<tt><li type=square>&nbsp;To unsubscribe from this group,
send an email to:<br>&nbsp;<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>xap_automation-unsubscribe@xxxxxxx</a><br>&nbsp;</tt>
<tt><li type=square>&nbsp;Your use of Yahoo! Groups is
subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.</tt>
</ul>
<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
</div>
</br>

<!-- **end egp html banner** -->


</body>

</html>

------=_NextPart_000_01DB_01C5816A.48E5BFA0--



xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.