Queuing up data on the real time side

During parts of our operation we read an analog input every 10ms. This means there is a lot of traffic going over the Windows/RMP interface. While the data is collected every 10ms we only need to use if every 1s. So I was wondering if there is a way to buffer up the analog data in the RMP side and only read it, en block, every second?

Hi patrick,

Recorders are exactly what you need. You can use RecorderPeriodSet(#, 10) to collect every 10 samples (1ms each @ 1kHz) and you can read the data you are collecting out at whatever frequency you want. You can also collect more data than just the AnalogInput if you want to correlate its value with something else.

API Reference

Please let me know if you have any questions.