Support Forums
DT80M GPS Data

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]{}
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

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&#039;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&#039;m no computer programmer so struggling to find the reasons. I&#039;m using the datataker dEX software and can connect and change things on the logger quite happily but can&#039;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&quot;config&quot; &#039; Generated by dEX Configuration Builder Version 1.72.007 (Firmware Version 9.18.6291) &#039; Target device: DT80LM3-3 password=&quot;&quot; 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 &#039; User defined 1SERIAL(RS232,&quot;\\e&quot;,W) &#039;Clear Input buffer. RS700T RA&quot;Schedule_1&quot;(&quot;b:&quot;,ALARMS:OV:100KB:W60,DATA:OV:1MB)1SERIAL&quot;&quot; LOGONA &#039; User defined 1SERIAL(&quot;,%f[1CV],%2f[2CV]%f[3CV],%1s[&#039;N&#039;,&#039;S&#039;,51CV=-1],%3f[4CV]%f[5CV],%1s[&#039;E&#039;,&#039;W&#039;,52CV=-1],%f[6CV],%f[7CV],%f[8CV],%f[9CV],M,%f[10CV],M,%f[11CV]*&quot;,W); &#039;1SERIAL(&quot;$GPVTG,%f[12CV],T,%f[13CV],M,%f[14CV],N,%f[15CV],K*&quot;,W); RB&quot;Schedule_2&quot;(&quot;b:&quot;,ALARMS:OV:100KB:W60,DATA:OV:60MB)20S LOGONB &#039; User defined IF(51CV&gt;&lt;1,2){2CV(W)=-2CV}; IF(52CV&gt;&lt;1,2){4CV(W)=-4CV}; &#039; User defined 1CV(&quot;GPS_Time&quot;); &#039; User defined 2CV(&quot;LatD~Deg&quot;,FF0); &#039; User defined 3CV(&quot;LatM~Min&quot;,FF7); &#039; User defined 51CV(&quot;Hem_NS&quot;); &#039; User defined 4CV(&quot;LonD_1~Deg&quot;,FF0); &#039; User defined 5CV(&quot;LonM_1~Min&quot;,FF7); &#039; User defined 52CV(&quot;Hem_EW&quot;); &#039; User defined 9CV(&quot;Alt~m&quot;,FF0); &#039; User defined 2CV(&quot;True_Heading~deg&quot;,FF0); &#039; User defined 13CV(&quot;Mag_Heading~deg&quot;,FF0); &#039; User defined 14CV(&quot;Speed_Knots~knots&quot;,FF3); &#039; User defined 15CV(&quot;Speed_kph~kph&quot;,FF3); 1*V(&quot;Temperature~C&quot;,=1016CV,LM,S6,NA) ALARM1(1+V(&quot;Humidity~%rh&quot;,=1017CV,LM,S2,NA)&gt;15/60S)&quot;Event triggered on Logger ! at @ on #, ?N value is ?V ?U.&quot;[sms:+447731943717?priority=high][sms:+447766680738?priority=high]{} 3*V(&quot;Diff Pressure One~Pa&quot;,=1027CV,LM,S1,A) ALARM1(3+V(&quot;Diff Pressure Two~Pa&quot;,=1028CV,LM,S7,A)&lt;150/60S)&quot;Event triggered on Logger ! at @ on #, ?N value is ?V ?U.&quot;[sms:+447766680738?priority=high][sms:+447731943717?priority=high]{} ALARM1(5V(&quot;Purge Voltage~V&quot;,=1035CV,LM,S8,A)&lt;18/60S)&quot;Event triggered on Logger ! at @ on #, ?N value is ?V ?U.&quot;[sms:+447766680738?priority=high][sms:+447731943717?priority=high]{} RC&quot;Schedule_3&quot;(&quot;b:&quot;,ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:9:*:*:*] LOGONC &#039; User defined 1V(&quot;ManualChannel_24&quot;); DO{copyd dest=&quot;mailto:c.theobald@ucl.ac.uk?body=Morning%20Craig,%20here&#039;s%20some%20data.&amp;priority=NORMAL&amp;interface=MODEM&amp;subject=DT80M&quot; format=CSV sched=ABC data=Y alarms=Y start=new} RD&quot;Schedule_4&quot;(&quot;b:&quot;,ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:0:12:*:*:*] LOGOND DO{copyd dest=&quot;mailto:c.theobald@ucl.ac.uk?body=Hello%20Craig,%20here&#039;s%20some%20more%20data.&amp;priority=NORMAL&amp;interface=MODEM&amp;subject=DT80M&quot; format=CSV sched=ABCDE data=Y alarms=N start=new} RE&quot;Schedule_5&quot;(&quot;b:&quot;,ALARMS:OV:100KB:W60,DATA:OV:1MB)[0:30:16:*:*:*] LOGONE DO{copyd dest=&quot;mailto:c.theobald@ucl.ac.uk?body=Good%20afternoon%20Craig,%20have%20a%20smidge%20more%20data.&amp;priority=NORMAL&amp;interface=MODEM&amp;subject=DT80M&quot; format=CSV sched=ABCDE data=Y alarms=N start=new} END

Hi MSSL,

What is the NMEA code you want to read? (Only $GPVTG?)
GPS will transmit out several NMEA code, if you do not catch the right one definitely the parsing sequence will fail.
Furthermore having specific string recognition for SERIAL channel is recommended as it will lock down to specific NMEA code.
RA"Schedule_1"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1SERIAL"$GPVTG"

Please check DT8x user manual (version B8) page 351 section Generic SERIAL channel and page 363 about GPS reading.

Best regards,
Rudy Gunawan

Hi MSSL, What is the NMEA code you want to read? (Only $GPVTG?) GPS will transmit out several NMEA code, if you do not catch the right one definitely the parsing sequence will fail. Furthermore having specific string recognition for SERIAL channel is recommended as it will lock down to specific NMEA code. RA&quot;Schedule_1&quot;(&quot;b:&quot;,ALARMS:OV:100KB:W60,DATA:OV:1MB)1SERIAL&quot;$GPVTG&quot; Please check DT8x user manual (version B8) page 351 section Generic SERIAL channel and page 363 about GPS reading. Best regards, Rudy Gunawan

Good morning Craig,

There are code examples for GPS in the FAQ's
http://www.thermofisher.com.au/show.aspx?page=/ContentAUS/Manufacturing-Processing/Industrial-Loggers/DataTaker/DataTaker-FAQ/Program-Code/DT80-Range-Code.html

Take a look and work through the code it should assist you

Cheers

Roger

Good morning Craig, There are code examples for GPS in the FAQ&#039;s http://www.thermofisher.com.au/show.aspx?page=/ContentAUS/Manufacturing-Processing/Industrial-Loggers/DataTaker/DataTaker-FAQ/Program-Code/DT80-Range-Code.html Take a look and work through the code it should assist you Cheers Roger
51
2
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft