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.

problem with tables


maurixio Oct 8, 2015 02:27 PM

how can i do to save 24 hours data in two tables of 12 hours? example: table1 , is for night ; table2 is for day.. i tried to do a table validation (with iftime) and a simple if validation (through a range of time ) , and didnt worked.

any help would be very appreciated!


jra Oct 8, 2015 02:52 PM

Make sure your datalogger has the latest OS then use the TimeIsBetween() instruction as your DataInterval() trigger. Something like this:
DataTable (Test1a,TimeIsBetween(15,45,60,Sec),-1)

Latest OSes: https://www.campbellsci.com/19_1_7639

Info on TimeIsBetween() https://www.campbellsci.com/news-tip-more-decisions


maurixio Oct 13, 2015 07:52 PM

Thank you Janet!

Another question that i have.

I have a table who collects data in a 2 minutes lapse of time.

How can i collect data from another table that collects data in a 2 minutes interval too , but with a minute of delay.

i.e : table 1 starts to collect from minute 0 to minute 2
table 1 starts to collect from minute 2 to minute 4
....
table 2 starts to collect from minute 1 to minute 3
table 2 starts to collect from minute 3 to minute 5

thanks!


jra Oct 13, 2015 09:14 PM

Table 1's DataInterval() will look like:
DataInterval (0,2,Min,10)
Table 2 like this:
DataInterval (1,2,Min,10)

That first parameter, time into interval, can be thought of as an offset. So, the interval is 2 minutes in both cases but offset by 1 minute in the second instance.

This also applies to the TimeIntoInterval() instruction.

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