All the generators I have seen are perfectly capable of setting a square wave with period such as 7ms and whatever pulse length or dutycycle you desire.
Some function generators have a duty-cycle control.
Or you can do what @Aleph(0) suggested. Use the one-shot feature and adjust the pulse-width and repetition rate independently.