No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Record ping with timestamp without any software

Publication Date:  2017-08-04 Views:  547 Downloads:  0
Issue Description

Recordings have gaps, or is discontinuous in some or all of the cameras.

Handling Process

Access the Playback tab page and play a video segment within the past 48 hours to check whether the video can be properly played back.  

If you see gaps or blank spaces in the recordings, you can have network communication problems.

Solution

1) Open a notepad file and paste the next code:

@echo off
    ping -t 192.168.0.200 -l 1024 |cmd /q /v /c "(pause&pause)>nul & for /l %%a in () do (set /p "data=" && echo(!time! !data!)&ping -n 2 localhost>nul" > c:\Ping.txt

  • you can enter the IP address that you need (example: 192.168.0.200)
  • in this case I selected 1024 as the size of the data to send, the default value is 32
  • You can change the location of the file to be created once you run the script. (example: c:\Ping.txt)

2) Click on File, then Save As...,

3) On Save as type select All Files (*.*)

4) On File name, enter the name of your file and the extension .bat

5) Click Save

 

If you open your file, you will see a CMD window, but with no activity. Everything will be stored in the file you described on the script.

If you open the file Ping.txt you can see something like this:

16:12:00.34 Pinging 192.168.0.200 with 2024 bytes of data:
16:12:01.38 Reply from 192.168.0.200: bytes=1024 time=1ms TTL=64
16:12:02.44 Reply from 192.168.0.200: bytes=1024 time=1ms TTL=64
16:12:03.47 Reply from 192.168.0.200: bytes=1024 time<1ms TTL=64
16:12:04.52 Reply from 192.168.0.200: bytes=1024 time<1ms TTL=64
16:12:05.57 Reply from 192.168.0.200: bytes=1024 time<1ms TTL=64

If you want to stop the script just press Ctrl+C, and then enter Y when promted, or just close the window.

If you want to change the script, right click on it (in this case Ping.bat) and select Edit.

 

 

 

END