# Running EcMonitorDemo To capture the EtherCAT® traffic insert a TAP device between the EtherCAT® adapter of the MainDevice and the first SubDevice. ![Diagram of an EtherCAT network with a TAP device inserted between the MainDevice and the first SubDevice for traffic capture](../Media/EC-Monitor_Masters-Tap-Slaves.png) Start the EcMonitorDemo from the command line to process the captured EtherCAT® frames. At least a Real-time Ethernet Driver and a ENI file must be specified. ```doscon > EcMonitorDemo -ndis 192.168.157.2 1 -f eni.xml -t 0 -v 3 ``` #### SEE ALSO [Platform and Operating Systems (OS)](os.html.md#platform-and-operating-systems-os) for OS specific additional instructions to run the demo application ## Command line parameters ### EcMonitorDemo [-f ENI-FileName] [-t time] [-b cycle time] [-a affinity] [-v level] [-perf] [-log prefix [msg cnt]] [-lic key] [-sp [port]] [-rec [prefix]] [-play pcap-FileName] [-daqrec file name] The parameters are as follows: ### -f Path to ENI file ### -t