Parses a *.cap logfile from Beckhoff TwinCAT AmsAdsViewer.
Although the logfiles basically are "Network Monitor 2.x" files, it only supports ADS frames.
using dsian.TwinCAT.AdsViewer.CapParser.Lib;
//...
var capFilePath = @".\DemoFiles\Demo.cap";
var netMon = await NetMonFileFactory.ParseNetMonFileAsync(capFilePath, CancellationToken.None, logger);
netMon.FramePackets.ToList().ForEach(frame => Console.WriteLine($"{frame.Index} {frame.Header}, {frame.Data}"));
// ...
or see Project "DemoConsole"
- TC3 ADS Monitor:
Download: TF6010 | TC3 ADS Monitor
Documentation: infosys.beckhoff.com
Minimum requirement for TC3 ADS Monitor: TC1000 | TC3 ADS