Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Different scan rate automatic control


zhangyp Sep 25, 2012 09:36 AM

Hello Everyone:
i want to achieve that CR1000 automaticly change scan rate by itself.
My program default scan rate is 4hour, i want to CR1000 change scan rate to 10 minute when my real time data over the upper limit. After the data recover to normal, the scan rate also return to 4hour.

In CRbaisc program, the scan rate is a Const Variable, can't declare as public.

Is there anyone can help me ?


jra Sep 25, 2012 12:24 PM

Are you talking about the Scan rate, how often the CR1000 takes measurements. Or, about the DataInterval, how often the CR1000 stores a record in a table?

Most people have a single scan rate, at the faster interval, 10 minutes in your case. Then they have multiple DataTables that can be at different intervals, 10 minutes and 4 hours in your case. If you want to store data at the faster interval only under certain conditions take a look at the DataEvent() instruction.

Log in or register to post/reply in the forum.