Thanks for responding.
The host application is somewhat processor-intensive because it displays a lot of data on the screen. I can run it at a certain rate, but the maximum rate changes based on what's going on with that machine and how fast the data is changing. Since the RT's cycle time is clocked in real-time, I'd like to send the RT the decimation value from the host, depending on how much time it has available.
I gather from your message that a possible way to do this would be to time the execution time of a single pass through the loop on the host, and compare that to the time between samples currently being commanded. I'm a bit annoyed that I didn't think of such a simple solution. I'll give that option, and several variations I can think of, a look. Thanks.