Fix hardware injection file length

At present Minke produces a 10-second long ASCII file for all hardware injections. This is suboptimal, and files which are "just long enough" should be produced instead.