EasyManua.ls Logo

TSN Systems Box 3.0 - Page 25

Default Icon
37 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TSN Box Development – TSN Box 3.0 Getting Started Guide
Hardware – 25
The following parameters are configurable by the user:
The full path to the file that should be played back.
The data contained in the best effort packets (as an array of bytes).
The rate of best effort packet generation (in nanosecond interval).
The loop parameter can be toggled between loop on and loop off to dictate whether a file should repeatedly
play from start or only once.
Notes:
When specifying the pcapng file to be read, please note that the module expects an absolute path to the
location of the pcapng file where it is stored on the unit.
The rate at which best effort packets are generated should be specified in nanoseconds. E.g. if it is specified
as 100000000, then one packet will be generated every 100 milliseconds.
The pcapng file should not contain any PTP packets. Removing PTP packets from a pcapng file can be done
using Wireshark. Refer to section "Editing pcapng files" below.
This configuration guarantees PTP master only when used in conjunction with the PTP slave configuration
on another unit.
PTP is running on port 1 and continues to run before, during and after the file is played back.
The following steps describe how to remove any unwanted ptp packets from a pcapng file:
Open the relevant file with Wireshark.
Input 'Ctrl+/' to apply a display filter, input 'ptp', and then hit return. After some filtering the only packets
displayed should be of PTP type.
Input 'Ctrl+Shift+D' to ignore all displayed ptp packets.
Remove the display filter by entering 'Ctrl+/', then hit backspace, then hit return. After reloading, the file
should display all packets with the PTP packets marked as ignored.
Under File menu select the option "Export Specified Packets".
In the popup window, under "Packet Range", select "All packets" and tick the box "Remove ignored
packets".
Specify a file name and save the file.