reGen.m appears to be working with 5 ms latency on AO and DO