For measurements like this the SDK will usually include some utilities to send the same data over and over on a port.