Skip to content
dan-sw edited this page Jul 26, 2012 · 8 revisions

PTP_GUI package

PTP_GUI is a software package providing graphical Element Management software for the following functionalities of DAN3400 PTP system:

1. PHY stats

PTP_GUI shows useful PHY statistics such as BER/PER (block/packet error rate) of the receiver, current STO (timing offset), CINR, RSSI etc

2. PHY constellation

PTP_GUI shows the modulation type and draws the constellation diagram of the expected and received signal sampled over configurable time interval. This allows to identify the interference, noise etc. Notice that constellation processing requires Matlab tool (see Installation paragraph below) and Matlab executable software provided separately as a part of SDK.

3. Rate adaptation

Rate adaptation is a technique of adapting MCS (modulation and coding scheme) to the physical channel condition. PTP_GUI shows the histogram of MCS sampled over configurable time interval for each antenna. Additionally it allows user to set the current MCS manually, disabling automatic rate adaptation mode.

4. Ethernet stats

PTP_GUI shows Ethernet MAC statistics including received/sent packets, received/sent bytes, errors etc

5. CDU

CDU stands for capture debug unit. It allows to record the received samples into memory buffer at different test points in the PHY. PTP_GUI tool allows to download the collected samples, process them in Matlab and present results. Notice that CDU samples processing requires CDU configuration script files provided separately as a part of SDK.

Installation

  • PTP_GUI requires a PC with windows XP/7.
  • PTP_GUI should be installed under C:\PTP folder of the PC.
  • The PC should be connected to the board through a switch or directly to the Ethernet interface. Additional software that must be installed on the PC:
  • Pcap package, can be downloaded from http://www.winpcap.org/install/
  • Some of PTP_GUI features (PHY constellation) require Matlab software (MCR 7.6 or higher) to be installed.

Build

PTP_GUI project is written in C# language and requires MS Visual Studio 2008 (or later) to be installed on the PC. To build the project open and build PTP_Application.csproj in Visual Studio.

Following describes how to build the code of open source packages used in this project:

  • SharpPcap. All the files are in directory "/SharpPcap" belong to this package. To build this project open and build /SharpPcap/SharpPcap.sln in Visual Studio.
  • PacketDotNet. All the files are in directory "/PacketDotNet" belong to this package. To build this project open and build /PacketDotNet/PacketNet.sln in Visual Studio.
  • Simple Performance Chart. All the files are in directory "/SpPerfChart" belong to this package. This package is built as a part of PTP_GUI and does not require any special handling.

License

Please refer to LICENSE file