Hello all
I have a DT80M that we are using to monitor a shipment during road transport. We take a number of readings such as GPS data, A couple of pressure readings, Temperature, humidity, Accelerometer and a battery voltage.
I am having troubles with the GPS data. It only takes the first reading when the Datataker is turned on and either never tries again or doesn't save the changes in the log file. It just gives the same numbers all the time while the other reading update and change every 5 seconds.
I have inherited this system from someone who is no longer with the company and I'm no computer programmer so struggling to find the reasons. I'm using the datataker dEX software and can connect and change things on the logger quite happily but can't see what to change to sort this out.
Below is the program if anyone can cast an eye over it and see if there is anything obviously wrong?
Many thanks, Craig.
BEGIN"config"
' Generated by dEX Configuration Builder Version 1.72.007 (Firmware Version 9.18.6291)
' Target device: DT80LM3-3
password=""
S1=-25,25,0,24000
S2=0,100,0,1000
S3=-15,15,12,4992
S4=-15,15,-19,5021
S5=-15,15,9,4989
S6=-40,60,0,1000
S7=-3000,3000,0,10000
S8=0,30,0,30000
' User defined
1SERIAL(RS232,"\e",W) 'Clear Input buffer.
RS700T
RA"Schedule_1"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1SERIAL""
LOGONA
' User defined
1SERIAL(",%f[1CV],%2f[2CV]%f[3CV],%1s['N','S',51CV=-1],%3f[4CV]%f[5CV],%1s['E','W',52CV=-1],%f[6CV],%f[7CV],%f[8CV],%f[9CV],M,%f[10CV],M,%f[11CV]",W);
'1SERIAL("$GPVTG,%f[12CV],T,%f[13CV],M,%f[14CV],N,%f[15CV],K",W);
RB"Schedule_2"("b:",ALARMS:OV:100KB:W60,DATA:OV:60MB)20S
LOGONB
' User defined
IF(51CV><1,2){2CV(W)=-2CV};
IF(52CV><1,2){4CV(W)=-4CV};
' User defined
1CV("GPS_Time");
' User defined
2CV("LatD~Deg",FF0);
' User defined
3CV("LatM~Min",FF7);
' User defined
51CV("Hem_NS");
' User defined
4CV("LonD_1~Deg",FF0);
' User defined
5CV("LonM_1~Min",FF7);
' User defined
52CV("Hem_EW");
' User defined
9CV("Alt~m",FF0);
' User defined
2CV("True_Heading~deg",FF0);
' User defined
13CV("Mag_Heading~deg",FF0);
' User defined
14CV("Speed_Knots~knots",FF3);
' User defined
15CV("Speed_kph~kph",FF3);
1V("Temperature~C",=1016CV,LM,S6,NA)
ALARM1(1+V("Humidity~%rh",=1017CV,LM,S2,NA)>15/60S)"Event triggered on Logger ! at @ on #, ?N value is ?V ?U."[sms:+447731943717?priority=high][sms:+447766680738?priority=high]{}
3V("Diff Pressure One~Pa",=1027CV,LM,S1,A)
ALARM1(3+V("Diff Pressure Two~Pa",=1028CV,LM,S7,A)<150/60S)"Event triggered on Logger ! at @ on #, ?N value is ?V ?U."[sms:+447766680738?priority=high][sms:+447731943717?priority=high]{}
ALARM1(5V("Purge Voltage~V",=1035CV,LM,S8,A)<18/60S)"Event triggered on Logger ! at @ on #, ?N value is ?V ?U."[sms:+447766680738?priority=high][sms:+447731943717?priority=high]{}
RC"Schedule_3"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:9:::*]
LOGONC
' User defined
1V("ManualChannel_24");
DO{copyd dest="mailto:c.theobald@ucl.ac.uk?body=Morning%20Craig,%20here's%20some%20data.&priority=NORMAL&interface=MODEM&subject=DT80M" format=CSV sched=ABC data=Y alarms=Y start=new}
RD"Schedule_4"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:12:::]
LOGOND
DO{copyd dest="mailto:c.theobald@ucl.ac.uk?body=Hello%20Craig,%20here's%20some%20more%20data.&priority=NORMAL&interface=MODEM&subject=DT80M" format=CSV sched=ABCDE data=Y alarms=N start=new}
RE"Schedule_5"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:30:16:::]
LOGONE
DO{copyd dest="mailto:c.theobald@ucl.ac.uk?body=Good%20afternoon%20Craig,%20have%20a%20smidge%20more%20data.&priority=NORMAL&interface=MODEM&subject=DT80M" format=CSV sched=ABCDE data=Y alarms=N start=new}
END
Hello all
I have a DT80M that we are using to monitor a shipment during road transport. We take a number of readings such as GPS data, A couple of pressure readings, Temperature, humidity, Accelerometer and a battery voltage.
I am having troubles with the GPS data. It only takes the first reading when the Datataker is turned on and either never tries again or doesn't save the changes in the log file. It just gives the same numbers all the time while the other reading update and change every 5 seconds.
I have inherited this system from someone who is no longer with the company and I'm no computer programmer so struggling to find the reasons. I'm using the datataker dEX software and can connect and change things on the logger quite happily but can't see what to change to sort this out.
Below is the program if anyone can cast an eye over it and see if there is anything obviously wrong?
Many thanks, Craig.
BEGIN"config"
' Generated by dEX Configuration Builder Version 1.72.007 (Firmware Version 9.18.6291)
' Target device: DT80LM3-3
password=""
S1=-25,25,0,24000
S2=0,100,0,1000
S3=-15,15,12,4992
S4=-15,15,-19,5021
S5=-15,15,9,4989
S6=-40,60,0,1000
S7=-3000,3000,0,10000
S8=0,30,0,30000
' User defined
1SERIAL(RS232,"\\e",W) 'Clear Input buffer.
RS700T
RA"Schedule_1"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1SERIAL""
LOGONA
' User defined
1SERIAL(",%f[1CV],%2f[2CV]%f[3CV],%1s['N','S',51CV=-1],%3f[4CV]%f[5CV],%1s['E','W',52CV=-1],%f[6CV],%f[7CV],%f[8CV],%f[9CV],M,%f[10CV],M,%f[11CV]*",W);
'1SERIAL("$GPVTG,%f[12CV],T,%f[13CV],M,%f[14CV],N,%f[15CV],K*",W);
RB"Schedule_2"("b:",ALARMS:OV:100KB:W60,DATA:OV:60MB)20S
LOGONB
' User defined
IF(51CV><1,2){2CV(W)=-2CV};
IF(52CV><1,2){4CV(W)=-4CV};
' User defined
1CV("GPS_Time");
' User defined
2CV("LatD~Deg",FF0);
' User defined
3CV("LatM~Min",FF7);
' User defined
51CV("Hem_NS");
' User defined
4CV("LonD_1~Deg",FF0);
' User defined
5CV("LonM_1~Min",FF7);
' User defined
52CV("Hem_EW");
' User defined
9CV("Alt~m",FF0);
' User defined
2CV("True_Heading~deg",FF0);
' User defined
13CV("Mag_Heading~deg",FF0);
' User defined
14CV("Speed_Knots~knots",FF3);
' User defined
15CV("Speed_kph~kph",FF3);
1*V("Temperature~C",=1016CV,LM,S6,NA)
ALARM1(1+V("Humidity~%rh",=1017CV,LM,S2,NA)>15/60S)"Event triggered on Logger ! at @ on #, ?N value is ?V ?U."[sms:+447731943717?priority=high][sms:+447766680738?priority=high]{}
3*V("Diff Pressure One~Pa",=1027CV,LM,S1,A)
ALARM1(3+V("Diff Pressure Two~Pa",=1028CV,LM,S7,A)<150/60S)"Event triggered on Logger ! at @ on #, ?N value is ?V ?U."[sms:+447766680738?priority=high][sms:+447731943717?priority=high]{}
ALARM1(5V("Purge Voltage~V",=1035CV,LM,S8,A)<18/60S)"Event triggered on Logger ! at @ on #, ?N value is ?V ?U."[sms:+447766680738?priority=high][sms:+447731943717?priority=high]{}
RC"Schedule_3"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:9:*:*:*]
LOGONC
' User defined
1V("ManualChannel_24");
DO{copyd dest="mailto:c.theobald@ucl.ac.uk?body=Morning%20Craig,%20here's%20some%20data.&priority=NORMAL&interface=MODEM&subject=DT80M" format=CSV sched=ABC data=Y alarms=Y start=new}
RD"Schedule_4"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:12:*:*:*]
LOGOND
DO{copyd dest="mailto:c.theobald@ucl.ac.uk?body=Hello%20Craig,%20here's%20some%20more%20data.&priority=NORMAL&interface=MODEM&subject=DT80M" format=CSV sched=ABCDE data=Y alarms=N start=new}
RE"Schedule_5"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:30:16:*:*:*]
LOGONE
DO{copyd dest="mailto:c.theobald@ucl.ac.uk?body=Good%20afternoon%20Craig,%20have%20a%20smidge%20more%20data.&priority=NORMAL&interface=MODEM&subject=DT80M" format=CSV sched=ABCDE data=Y alarms=N start=new}
END