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.

Measurement Matters - TimeIntoInterval()


jra Oct 28, 2014 02:47 PM

Q: How do I make my datalogger do something, besides storing data, based on a set time?

A: Most CRBasic programmers are familiar with the DataInterval() instruction because that is what we use to store data on a specific interval, say every hour at the top of the hour.


To do something else, such as turn on or off a device, take a measurement or do a calculation, you'll use the TimeIntoInterval() instruction within a logic statement.


Tip: If you turn a piece of hardware on under datalogger control, you also need to turn it off. Just having a condition be false does not change the state of the port.

Learn more: https://www.campbellsci.com/tips-decisions

Next time: CR6 Drivers

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