Hello;
The only way to do that accurately is by using one of the general purpose counters (you didn't mention what board you are using, by I'm assuming you have a counter available in it).
You can program the counter to do retriggerable pulse generation, configure the pulse to have a width of 400m sec, and wire the digital line that is triggering the start of the 400m sec pulse, to the counter's gate input.
That will make the counter to generate a pulse of 400m sec, at every event of a trigger pulse.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments