How to make sink_driven_src stop sending updates after X amount

Hi


Is there a way to configure sink_driven_src to stop sending updates after X amount of updates?


Example:

I want to send steady 10 updates per second (-U 10) and stop after sending 100 updates.


I tried the -timeri option but the guide is very vague on explaining the timer interval. Description says

Sets the timer interval in microseconds. A setting of (0) disables the timer.


Thanks

Best Answer

  • If you use rmdstestserver (tool shipped with ADH and ADS packages) and use a capture file, you should be able to do this. Versions of this tool shipped with TREP 3.2.3 and later allow users to control the number of times a capture file would be replayed (-replayLimit). Previously, rmdstestserver would continuously replay the capture file. See Demo tools guide shipped with TREP s/w for details.

Answers