diff --git a/docs/PG/infrastructure_device_telemetry.html b/docs/PG/infrastructure_device_telemetry.html index 43e1453..089cbaa 100644 --- a/docs/PG/infrastructure_device_telemetry.html +++ b/docs/PG/infrastructure_device_telemetry.html @@ -450,7 +450,8 @@ <h3>Ring Pair Level Telemetry Values<a class="headerlink" href="#ring-pair-level <span class="n">out</span><span class="p">,</span><span class="n">err</span><span class="o">=</span><span class="n">sp</span><span class="o">.</span><span class="n">communicate</span><span class="p">()</span> <span class="c1"># Split string into list of strings</span> - <span class="n">original_array</span><span class="o">=</span> <span class="n">out</span><span class="o">.</span><span class="n">split</span><span class="p">()</span><span class="n">output_telem</span> <span class="o">=</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">original_array</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="p">(</span><span class="n">x</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span class="s1">':'</span><span class="p">)[</span><span class="mi">1</span><span class="p">],</span> <span class="mi">16</span><span class="p">))</span> + <span class="n">original_array</span><span class="o">=</span> <span class="n">out</span><span class="o">.</span><span class="n">split</span><span class="p">()</span> + <span class="n">output_telem</span> <span class="o">=</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">original_array</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="p">(</span><span class="n">x</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span class="s1">':'</span><span class="p">)[</span><span class="mi">1</span><span class="p">],</span> <span class="mi">16</span><span class="p">))</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span> <span class="n">state</span> <span class="o">=</span> <span class="s2">"down"</span>