Hi Roger,
Thanks for that. Funny you should mention the DT80 option - we actually started off with a DT85 for this job but found that we couldn't get anywhere near the measurement rate.
I think I managed to get it up to about 2-3 Hz max. using all the channels with analog inputs whereas we needed at least 5Hz. Therefore we were advised to swap the Dt85 for 2x DT800 as these sample faster and we needed about 50 analog inputs plus various digital I/O's.
Anyway, I've just thought of another potential issue on which I would be grateful for your advice: If the slave logger is lagging behind the master and it's time gets updated over the midnight period (say from 11:59 pm to 0:00 am) is this likely to affect the date rollover?
My intention is that the master will send the time update string via the serial link every 10 minutes, so at midnight it will send T=00:00:00 to the slave. Will the slave logger realize that this is bringing the time forward into the next day (and hence roll the date forward accordingly) or will it think time has been rolled back to the beginning of the same date (and hence not increment the date)?
I was therefore thinking that it may be sensible to set the date as well as time just in case, but am again struggling with the syntax. From what I can gather from the manual, the string should be:
DT=[YYYY/MM/DD,hh:mm:ss]
Hence I think my program should be something like:
RD10M LOGOFFD GD
4ST("Get date",W,=100CV)
3ST("Get hours",W,=101CV)
2ST("Get minutes",W,=102CV)
1ST("Get seconds",W,=103CV)
1SERIAL(RS232,"{DT=[%f[100CV],%d[101CV]:%d[102CV]:%d[103CV]^M^J]}")
Are the square brackets that are required to enclose the whole date+time string going to confuse things (i.e. be interpreted as a [CV] sort of command)? I've put the date as a real number (%f) as I understand it will be stored as a decimal number of days since x. Is this correct?
Sorry to have to ask so many tricky questions in one post - hope they all make sense. Your help is much appreciated!
Regards,
James
Hi Roger,
Thanks for that. Funny you should mention the DT80 option - we actually started off with a DT85 for this job but found that we couldn't get anywhere near the measurement rate.
I think I managed to get it up to about 2-3 Hz max. using all the channels with analog inputs whereas we needed at least 5Hz. Therefore we were advised to swap the Dt85 for 2x DT800 as these sample faster and we needed about 50 analog inputs plus various digital I/O's.
Anyway, I've just thought of another potential issue on which I would be grateful for your advice: If the slave logger is lagging behind the master and it's time gets updated over the midnight period (say from 11:59 pm to 0:00 am) is this likely to affect the date rollover?
My intention is that the master will send the time update string via the serial link every 10 minutes, so at midnight it will send T=00:00:00 to the slave. Will the slave logger realize that this is bringing the time forward into the next day (and hence roll the date forward accordingly) or will it think time has been rolled back to the beginning of the same date (and hence not increment the date)?
I was therefore thinking that it may be sensible to set the date as well as time just in case, but am again struggling with the syntax. From what I can gather from the manual, the string should be:
````
DT=[YYYY/MM/DD,hh:mm:ss]
````
Hence I think my program should be something like:
````
RD10M LOGOFFD GD
4ST("Get date",W,=100CV)
3ST("Get hours",W,=101CV)
2ST("Get minutes",W,=102CV)
1ST("Get seconds",W,=103CV)
1SERIAL(RS232,"{DT=[%f[100CV],%d[101CV]:%d[102CV]:%d[103CV]^M^J]}")
````
Are the square brackets that are required to enclose the whole date+time string going to confuse things (i.e. be interpreted as a [CV] sort of command)? I've put the date as a real number (%f) as I understand it will be stored as a decimal number of days since x. Is this correct?
Sorry to have to ask so many tricky questions in one post - hope they all make sense. Your help is much appreciated!
Regards,
James