Support Forums
Serial input cannot intercept and program

PROBLEM 1:
I set DT80 series 2 host port to RS232. I hooked up a serial input 9600,8,n,1 to DT80 DB9 host port, with three pins connected Rx,Tx and ground.

The signal is verified with hyperterminal. The serial input format in ASCII text, 10 hz(10 output/s) = "120". Just a 3 digit integer. I delete all jobs in DT80. I configured and load a new program in Delogger5.

The program show on DT80 web interface:

BEGIN"JOB1" 
CATTN 
'Spans and polynomial declarations 
'Thermistor declarations 
'Switches declarations 
'Parameter declarations
'Global declarations 
RS2S 
'schedule definition 
RA"test"("B:",ALARMS:OV:100KB,DATA:NOV:1MB)2S LOGONA GA 
2SERIAL("\\e%d[1CV]","serialpp",3.0,W) 
END

Error message from delogger:

Error 89 Serial sensor receive timeout at controls String position 3

What is wrong with my programming?

PROBLEM 2:
In my Delogger5, i cannot see the RS232, RS422 option like in its help.chm. Is it because i am using DT80 series 2 so there is no option? Do i have to set RS232, RS422 in Delogger5? Where is the setting?

PROBLEM 3:
I erased all jobs. In Delogger5 text window I enter the following commands line by line:

BEGIN"NMEAWIND" 
PS=RS232,9600,N,8,1,NOFC 
2SERIAL(RS232,"\\e",W) 
RA2SERIAL"$IIMWV" 
2SERIAL(",%d[1CV],R,%f[2CV],%c[3CV],%c[4CV]*") 
/T/N/D/U P33=15 
1CV("Dirn:~deg",FF0) 
2CV("Spd:~",FF2) 
3CV("Units:",FF0) 
LOGON

At this stage the messages are like this (no error messages):

Success: Schedule A channel Trigger changed, 
job:NMEAWIND 
Information:status check 
Success: Schedule A channel list changed, 
job:NMEAWIND 
Information: status check 
Success: Schedule A channel list changed, 
job:NMEAWIND 
Information: status check 
Success: Schedule A channel list changed, 
job:NMEAWIND 
Information: status check 
Success: Schedule A channel list changed, 
job:NMEAWIND 
Information: status check 
Success: LOGON accepted on all schedules, 
job:NMEAWIND

DT80 LCD says:

DT80 V7.04 No current job

How come no current job??

Units:--- Spd:--- Dirn:--- ) END

After typing "END" the below message came out:

Success: Current program cleared,
Job: NMEAWIND

DT80 LCD says:

DT80 LCD DT80 V7.04 
No current job

But how come there is no more display of this???:

Units:--- Spd:--- Dirn:--- )

I click run all jobs button in Delogger5. This message came out:

Success: All Schedules Running, 
job:

Now how come there is no jobs in DT80 after all the commands. Did I set something wrong?

orange

**PROBLEM 1:** I set DT80 series 2 host port to RS232. I hooked up a serial input 9600,8,n,1 to DT80 DB9 host port, with three pins connected Rx,Tx and ground. The signal is verified with hyperterminal. The serial input format in ASCII text, 10 hz(10 output/s) = "120". Just a 3 digit integer. I delete all jobs in DT80. I configured and load a new program in Delogger5. The program show on DT80 web interface: ```` BEGIN"JOB1" CATTN 'Spans and polynomial declarations 'Thermistor declarations 'Switches declarations 'Parameter declarations 'Global declarations RS2S 'schedule definition RA"test"("B:",ALARMS:OV:100KB,DATA:NOV:1MB)2S LOGONA GA 2SERIAL("\\e%d[1CV]","serialpp",3.0,W) END ```` Error message from delogger: ```` Error 89 Serial sensor receive timeout at controls String position 3 ```` What is wrong with my programming? **PROBLEM 2:** In my Delogger5, i cannot see the RS232, RS422 option like in its help.chm. Is it because i am using DT80 series 2 so there is no option? Do i have to set RS232, RS422 in Delogger5? Where is the setting? **PROBLEM 3:** I erased all jobs. In Delogger5 text window I enter the following commands line by line: ```` BEGIN"NMEAWIND" PS=RS232,9600,N,8,1,NOFC 2SERIAL(RS232,"\\e",W) RA2SERIAL"$IIMWV" 2SERIAL(",%d[1CV],R,%f[2CV],%c[3CV],%c[4CV]*") /T/N/D/U P33=15 1CV("Dirn:~deg",FF0) 2CV("Spd:~",FF2) 3CV("Units:",FF0) LOGON ```` At this stage the messages are like this (no error messages): ```` Success: Schedule A channel Trigger changed, job:NMEAWIND Information:status check Success: Schedule A channel list changed, job:NMEAWIND Information: status check Success: Schedule A channel list changed, job:NMEAWIND Information: status check Success: Schedule A channel list changed, job:NMEAWIND Information: status check Success: Schedule A channel list changed, job:NMEAWIND Information: status check Success: LOGON accepted on all schedules, job:NMEAWIND ```` DT80 LCD says: ```` DT80 V7.04 No current job ```` How come no current job?? ```` Units:--- Spd:--- Dirn:--- ) END ```` After typing "END" the below message came out: ```` Success: Current program cleared, Job: NMEAWIND ```` DT80 LCD says: ```` DT80 LCD DT80 V7.04 No current job ```` But how come there is no more display of this???: ```` Units:--- Spd:--- Dirn:--- ) ```` I click run all jobs button in Delogger5. This message came out: ```` Success: All Schedules Running, job: ```` Now how come there is no jobs in DT80 after all the commands. Did I set something wrong? orange

Guys,

I got the serial input interception and parsing working in my DT80 series 2, with Detransfer 3.27 and a code example from DT FAQ. Now I have Detransfer, to get my projects working, I don't really need the above questions to be answered.

But my customers will LIKELY ask me the above questions. So will appreciate any answers to the questions.

Thanks,
orange

Guys, I got the serial input interception and parsing working in my DT80 series 2, with Detransfer 3.27 and a code example from DT FAQ. Now I have Detransfer, to get my projects working, I don't really need the above questions to be answered. But my customers will LIKELY ask me the above questions. So will appreciate any answers to the questions. Thanks, orange

Good morning Orange,

I'm always happy to answer questions. With out people asking questions I'd be out of a job:

  1. The serial sensor port program builder in DeLogger has a bug whee it doesn't handle the \ correctly. Engineering are working on it and there will be a new DeLogger release after we finish testing.

  2. The command port, the D9 on the end of the dataTaker is RS232 hardware only so that's why the other option don't show up.

  3. Probably caused by 1 above.

Cheers,
Roger

Good morning Orange, I'm always happy to answer questions. With out people asking questions I'd be out of a job: 1. The serial sensor port program builder in DeLogger has a bug whee it doesn't handle the \ correctly. Engineering are working on it and there will be a new DeLogger release after we finish testing. 2. The command port, the D9 on the end of the dataTaker is RS232 hardware only so that's why the other option don't show up. 3. Probably caused by 1 above. Cheers, Roger
29
3
2
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