stop ping-speed command automatically?!

Hi,

I am doing an script for MikroTik 333 to automatically get an estimation of the wireless bandwidth channel through the MikroTik diagnostic tool ICMP Banwidth Estimation, the problem is that i haven’t found any way to stop the /tool ping-speed command automatically when the script executes that.
Is there any way to achieve that?¿?

Thanks,

the only thig you can evaluate with ping too is if the link is up and operational, nothing less and nothing more.

other way you can set count variable to the command like this

 ping 10.0.11.11 count=1

that will send and receive one ping command.

can you send me a script?