<div dir="ltr">The solution is multipart. First, you will need to create a preset that when the event '8 DIAGNOSTICS COMPLETE' is received, executes a provision.<div><br></div><div>The provision will have this:</div><div><div><font face="monospace, monospace">declare("<wbr>InternetGatewayDevice.<wbr>WANDevice.*.WANDSLDiagnostics.<wbr>*", {value: Date.now()});</font></div></div><div><br></div><div>The final step is graphing the data. Review the description for each parameter in the <a href="https://cwmp-data-models.broadband-forum.org/tr-157-1-1-0-igd.html#D.InternetGatewayDevice:1.InternetGatewayDevice.WANDevice.%7Bi%7D.WANDSLInterfaceConfig.TestParams" target="_blank">TR-157 docs</a>.</div><div><br></div><div>The values you want to graph are HLOGpsus, HLOGpsds, QLNpsus, QLNpsds, SNRpsus, SNRpsds, and if your CPE supports them BITSpsds and GAINSpsds.</div><div><br></div><div>HLOG is the logarithmic channel characteristics per sub-carrier group</div><div>QLN is quiet line noise per subcarrier group</div><div>SNR is signal to noise ratio per subcarrier group</div><div>BITS is the number of bits per subcarrier group</div><div>GAIN is the gain per subcarrier group</div><div><br></div><div>All values except BITS are in dB.</div><div><br></div><div>Formulas are as follows for each value in the given group to turn it into something graphable:</div><div><br></div><div>HLOG</div><div>                        if (up != 1023) {<br></div><div><div>                            return 6 - (up / 10);</div><div>                        }</div><div>                        return 6 - (down / 10);</div></div><div><br></div><div>QLN</div><div><div>                        if (up != 255) {</div><div>                            return -23 - (up / 2);</div><div>                        }</div><div>                        return -23 - (down / 2);</div></div><div><br></div><div>SNR:</div><div><div>                        if (up != 255) {</div><div>                            return -32 + (up / 2);</div><div>                        }</div><div>                        if (down != 255) {</div><div>                            return -32 + (down / 2)</div><div>                        }</div><div>                        return 0;</div></div><div><br></div><div><br></div><div>If you want useful x-axis tick marks, use this formula:<br></div><div><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"DejaVu Sans Mono";font-size:9.1pt"><span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">Math</span>.<span style="color:rgb(122,122,67)">ceil</span>(index * <span style="color:rgb(0,0,255)">4.3125</span>);</pre><br></div><div>4.3125 is the width in kilohertz of the subcarrier group.<br></div><div><br></div><div>Here is a graph of what the results should look similar to.</div><div><br></div><div>This diagnostic test indicates a bridge tap - the drop around 612 kHz of the HLOG, and then subsequent rise only to roll off around 1,700 kHz</div><div><a href="https://i.imgur.com/29zoQFO.png">https://i.imgur.com/29zoQFO.png</a><br></div><div><br></div><div><br></div><div><a href="https://i.imgur.com/MLij1uk.png">https://i.imgur.com/MLij1uk.png</a><br></div><div><br></div><div><br></div><div>Some CPEs will also store "Showtime Test" results. On the ones I've tested, you need to refresh those values soon after connect otherwise they get wiped from memory. InternetGatewayDevice.WANDevice.{i}.WANDSLInterfaceConfig.TestParams is the key. And you can re-use the graph for SNR/QLN/HLog. The showtime test is not comprehensive. <a href="https://imgur.com/dH59Msj">https://imgur.com/dH59Msj</a></div><div><br></div><div>I couldn't readily find an example of it, but if you see sharp spikes on the QLN, those are indicative of a bad ground at the NID. This is why I graph my results in terms of kHz. Because the QLN spike will correspond to an AM radio station (in North America at least).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 24, 2018 at 3:59 AM, Julien Mas <span dir="ltr"><<a href="mailto:julien.mas.011@gmail.com" target="_blank">julien.mas.011@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
Hi guys ,<br>
<br>So, I'm trying to do the exact same thing that you described ,<br>
I'm a total tr-069 noob , but I have managed to install and configure<br>
Genieacs and i'm trying to test certain parameters by  duel ended line<br>
test ,my only problem is that I just don't know how to extract the<br>
data and graph them and also to what do you add the refresh object ?<br>
I would really appreciate some guidance here<br>
<br>Thank you !

<div class="m_2848876933676677703gmail-yj6qo"></div><div class="m_2848876933676677703gmail-adL"><br></div>

<br></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>