examples/SillySlave/SillySlave.od
changeset 400 7d845f5d730c
equal deleted inserted replaced
399:8d22c323fe0f 400:7d845f5d730c
       
     1 <?xml version="1.0"?>
       
     2 <!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
       
     3 <PyObject module="node" class="Node" id="-1268630260">
       
     4 <attr name="Profile" type="dict" id="-1268626332" >
       
     5 </attr>
       
     6 <attr name="Description" type="string">Silly Slave example for CANfestival,  (C)GMB 2008</attr>
       
     7 <attr name="Dictionary" type="dict" id="-1268621556" >
       
     8   <entry>
       
     9     <key type="numeric" value="4096" />
       
    10     <val type="numeric" value="33554432" />
       
    11   </entry>
       
    12   <entry>
       
    13     <key type="numeric" value="4097" />
       
    14     <val type="numeric" value="0" />
       
    15   </entry>
       
    16   <entry>
       
    17     <key type="numeric" value="6144" />
       
    18     <val type="list" id="-1214451316" >
       
    19       <item type="string" value="{True:&quot;$NODEID+0x%X80&quot;%(base+1),False:0}[base&lt;4]" />
       
    20       <item type="numeric" value="1" />
       
    21       <item type="numeric" value="100" />
       
    22       <item type="numeric" value="0" />
       
    23       <item type="numeric" value="0" />
       
    24     </val>
       
    25   </entry>
       
    26   <entry>
       
    27     <key type="numeric" value="8193" />
       
    28     <val type="numeric" value="0" />
       
    29   </entry>
       
    30   <entry>
       
    31     <key type="numeric" value="4114" />
       
    32     <val type="numeric" value="2147483904L" />
       
    33   </entry>
       
    34   <entry>
       
    35     <key type="numeric" value="4115" />
       
    36     <val type="numeric" value="0" />
       
    37   </entry>
       
    38   <entry>
       
    39     <key type="numeric" value="6656" />
       
    40     <val type="list" id="-1214450420" >
       
    41       <item type="numeric" value="536936456" />
       
    42     </val>
       
    43   </entry>
       
    44   <entry>
       
    45     <key type="numeric" value="4120" />
       
    46     <val type="list" id="-1214449748" >
       
    47       <item type="numeric" value="17185" />
       
    48       <item type="numeric" value="18" />
       
    49       <item type="numeric" value="1" />
       
    50       <item type="numeric" value="1" />
       
    51     </val>
       
    52   </entry>
       
    53   <entry>
       
    54     <key type="numeric" value="4608" />
       
    55     <val type="list" id="-1214449460" >
       
    56       <item type="string" value="&quot;$NODEID+0x600&quot;" />
       
    57       <item type="string" value="&quot;$NODEID+0x580&quot;" />
       
    58     </val>
       
    59   </entry>
       
    60 </attr>
       
    61 <attr name="SpecificMenu" type="list" id="-1214449556" >
       
    62 </attr>
       
    63 <attr name="ParamsDictionary" type="dict" id="-1268617172" >
       
    64   <entry>
       
    65     <key type="numeric" value="4096" />
       
    66     <val type="dict" id="-1268617036" >
       
    67       <entry>
       
    68         <key type="string" value="comment" />
       
    69         <val type="string" value="fake nr" />
       
    70       </entry>
       
    71     </val>
       
    72   </entry>
       
    73   <entry>
       
    74     <key type="numeric" value="4608" />
       
    75     <val type="dict" id="-1268616900" >
       
    76       <entry>
       
    77         <key type="string" value="callback" />
       
    78         <val type="True" value="" />
       
    79       </entry>
       
    80     </val>
       
    81   </entry>
       
    82   <entry>
       
    83     <key type="numeric" value="6144" />
       
    84     <val type="dict" id="-1268616764" >
       
    85       <entry>
       
    86         <key type="numeric" value="2" />
       
    87         <val type="dict" id="-1268616628" >
       
    88           <entry>
       
    89             <key type="string" value="comment" />
       
    90             <val type="string" value="send PDO1 after each SYNC" />
       
    91           </entry>
       
    92         </val>
       
    93       </entry>
       
    94       <entry>
       
    95         <key type="numeric" value="3" />
       
    96         <val type="dict" id="-1268616492" >
       
    97           <entry>
       
    98             <key type="string" value="comment" />
       
    99             <val type="string" value="10mS" />
       
   100           </entry>
       
   101         </val>
       
   102       </entry>
       
   103       <entry>
       
   104         <key type="numeric" value="5" />
       
   105         <val type="dict" id="-1268616356" >
       
   106           <entry>
       
   107             <key type="string" value="comment" />
       
   108             <val type="string" value="not used with SYNC" />
       
   109           </entry>
       
   110         </val>
       
   111       </entry>
       
   112     </val>
       
   113   </entry>
       
   114   <entry>
       
   115     <key type="numeric" value="5120" />
       
   116     <val type="dict" id="-1268616220" >
       
   117       <entry>
       
   118         <key type="numeric" value="1" />
       
   119         <val type="dict" id="-1268616084" >
       
   120           <entry>
       
   121             <key type="string" value="comment" />
       
   122             <val type="string" value="" />
       
   123           </entry>
       
   124         </val>
       
   125       </entry>
       
   126       <entry>
       
   127         <key type="numeric" value="2" />
       
   128         <val type="dict" id="-1268615948" >
       
   129           <entry>
       
   130             <key type="string" value="comment" />
       
   131             <val type="string" value="" />
       
   132           </entry>
       
   133         </val>
       
   134       </entry>
       
   135       <entry>
       
   136         <key type="numeric" value="3" />
       
   137         <val type="dict" id="-1268615812" >
       
   138           <entry>
       
   139             <key type="string" value="comment" />
       
   140             <val type="string" value="" />
       
   141           </entry>
       
   142         </val>
       
   143       </entry>
       
   144       <entry>
       
   145         <key type="numeric" value="4" />
       
   146         <val type="dict" id="-1268615676" >
       
   147           <entry>
       
   148             <key type="string" value="comment" />
       
   149             <val type="string" value="" />
       
   150           </entry>
       
   151         </val>
       
   152       </entry>
       
   153       <entry>
       
   154         <key type="numeric" value="5" />
       
   155         <val type="dict" id="-1268615540" >
       
   156           <entry>
       
   157             <key type="string" value="comment" />
       
   158             <val type="string" value="" />
       
   159           </entry>
       
   160         </val>
       
   161       </entry>
       
   162       <entry>
       
   163         <key type="string" value="callback" />
       
   164         <val type="False" value="" />
       
   165       </entry>
       
   166     </val>
       
   167   </entry>
       
   168   <entry>
       
   169     <key type="numeric" value="6145" />
       
   170     <val type="dict" id="-1268615404" >
       
   171       <entry>
       
   172         <key type="numeric" value="2" />
       
   173         <val type="dict" id="-1268615268" >
       
   174           <entry>
       
   175             <key type="string" value="comment" />
       
   176             <val type="string" value="Invio ogni 2 SYNC" />
       
   177           </entry>
       
   178         </val>
       
   179       </entry>
       
   180       <entry>
       
   181         <key type="numeric" value="3" />
       
   182         <val type="dict" id="-1268615132" >
       
   183           <entry>
       
   184             <key type="string" value="comment" />
       
   185             <val type="string" value="10 mS" />
       
   186           </entry>
       
   187         </val>
       
   188       </entry>
       
   189     </val>
       
   190   </entry>
       
   191   <entry>
       
   192     <key type="numeric" value="4114" />
       
   193     <val type="dict" id="-1268614996" >
       
   194       <entry>
       
   195         <key type="string" value="comment" />
       
   196         <val type="string" value="for timestamp" />
       
   197       </entry>
       
   198     </val>
       
   199   </entry>
       
   200   <entry>
       
   201     <key type="numeric" value="6657" />
       
   202     <val type="dict" id="-1268614860" >
       
   203       <entry>
       
   204         <key type="numeric" value="1" />
       
   205         <val type="dict" id="-1268614724" >
       
   206           <entry>
       
   207             <key type="string" value="comment" />
       
   208             <val type="string" value="Rx dal punto di vista del master, MCA lo trasmette" />
       
   209           </entry>
       
   210         </val>
       
   211       </entry>
       
   212     </val>
       
   213   </entry>
       
   214   <entry>
       
   215     <key type="numeric" value="5632" />
       
   216     <val type="dict" id="-1268614588" >
       
   217       <entry>
       
   218         <key type="numeric" value="1" />
       
   219         <val type="dict" id="-1268614452" >
       
   220           <entry>
       
   221             <key type="string" value="comment" />
       
   222             <val type="string" value="Tx dal punto di vista del master, MC lo riceve" />
       
   223           </entry>
       
   224         </val>
       
   225       </entry>
       
   226     </val>
       
   227   </entry>
       
   228   <entry>
       
   229     <key type="numeric" value="4120" />
       
   230     <val type="dict" id="-1268614316" >
       
   231       <entry>
       
   232         <key type="numeric" value="0" />
       
   233         <val type="dict" id="-1268614180" >
       
   234           <entry>
       
   235             <key type="string" value="comment" />
       
   236             <val type="string" value="4 pseudorandomic numbers:" />
       
   237           </entry>
       
   238         </val>
       
   239       </entry>
       
   240       <entry>
       
   241         <key type="numeric" value="1" />
       
   242         <val type="dict" id="-1268614044" >
       
   243           <entry>
       
   244             <key type="string" value="comment" />
       
   245             <val type="string" value="" />
       
   246           </entry>
       
   247         </val>
       
   248       </entry>
       
   249       <entry>
       
   250         <key type="numeric" value="2" />
       
   251         <val type="dict" id="-1268613908" >
       
   252           <entry>
       
   253             <key type="string" value="comment" />
       
   254             <val type="string" value="" />
       
   255           </entry>
       
   256         </val>
       
   257       </entry>
       
   258     </val>
       
   259   </entry>
       
   260 </attr>
       
   261 <attr name="UserMapping" type="dict" id="-1268613772" >
       
   262   <entry>
       
   263     <key type="numeric" value="8193" />
       
   264     <val type="dict" id="-1268613636" >
       
   265       <entry>
       
   266         <key type="string" value="need" />
       
   267         <val type="False" value="" />
       
   268       </entry>
       
   269       <entry>
       
   270         <key type="string" value="values" />
       
   271         <val type="list" id="-1214456756" >
       
   272           <item type="dict" id="-1268613500" >
       
   273             <entry>
       
   274               <key type="string" value="access" />
       
   275               <val type="string" value="ro" />
       
   276             </entry>
       
   277             <entry>
       
   278               <key type="string" value="pdo" />
       
   279               <val type="True" value="" />
       
   280             </entry>
       
   281             <entry>
       
   282               <key type="string" value="type" />
       
   283               <val type="numeric" value="5" />
       
   284             </entry>
       
   285             <entry>
       
   286               <key type="string" value="name" />
       
   287               <val type="string">LifeSignal</val>
       
   288             </entry>
       
   289           </item>
       
   290         </val>
       
   291       </entry>
       
   292       <entry>
       
   293         <key type="string" value="name" />
       
   294         <val type="string">LifeSignal</val>
       
   295       </entry>
       
   296       <entry>
       
   297         <key type="string" value="struct" />
       
   298         <val type="numeric" value="1" />
       
   299       </entry>
       
   300     </val>
       
   301   </entry>
       
   302 </attr>
       
   303 <attr name="DS302" type="dict" id="-1268613364" >
       
   304 </attr>
       
   305 <attr name="ProfileName" type="string" value="DS-301" />
       
   306 <attr name="Type" type="string">slave</attr>
       
   307 <attr name="ID" type="numeric" value="0" />
       
   308 <attr name="Name" type="string">SillySlave</attr>
       
   309 </PyObject>