For the most part the code looks good. While your code is based on examples, have you tried running an example directly? Have you tried any *faster* scan rates, such as 10 or 100 Hz? What version of LabVIEW RT do you have? If you view your ni-rt.ini file on the RT OS via FTP, does it contain lines that say:
[NI-DAQ]
UseSleepingTimedNonBuffered=TRUE
If not, add these and FTP it back and this should solve the problem, though they should already be there. If you are still experiencing problems, you might consider creating a service request to contact NI support.