Support Forums
Serial data problem

Good day Sir,

I want to talk about serial data input from the radio modem. For your information, I'm using RF Innovation product and the data transmitted from RFI radio modem is every 1 minute, with the baud rate: 9600.

Before this, I am using different data logger, the serial data input is looking find. But after I change to DT80, get something problem with serial data input. Sometime they got the good data, but sometime got error data.

It's my command for serial string not right and can u check it for me plz. Serial data output from RFI radio modem as below:

FFFF,2.43,31.3,13.45

The command string as below:

FFFF,%f[29CV],%f[30CV],%f[31CV]\\e

The command for this system as below:

'JOB=JOB1 
'COMPILED=2007/02/23 19:10:26 
'TYPE=dt80 
DT=\d 
BEGIN"JOB1"
CATTN 
'Spans and polynomial declarations 
'Thermistor declarations 
'Switches declarations 
'Parameter declarations 
'Global declarations 
RS1M 
'schedule definition 
PS=RS232,9600,N,8,1,NOFC 
1SERIAL("\\e",W) 
'schedule definition 
RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1M LOGONA GA 
1SERIAL("FFFF,%f[29CV],%f[30CV],%f[31CV]\\e",W) 
29CV("TL~m") 
30CV("WT~DegC",FF2) 
31CV("Tide Batt~V") 
29..31CV(W)=0 
END 
'end of program file

Can u help me sir?

Good day Sir, I want to talk about serial data input from the radio modem. For your information, I'm using RF Innovation product and the data transmitted from RFI radio modem is every 1 minute, with the baud rate: 9600. Before this, I am using different data logger, the serial data input is looking find. But after I change to DT80, get something problem with serial data input. Sometime they got the good data, but sometime got error data. It's my command for serial string not right and can u check it for me plz. Serial data output from RFI radio modem as below: ```` FFFF,2.43,31.3,13.45 ```` The command string as below: ```` FFFF,%f[29CV],%f[30CV],%f[31CV]\\e ```` The command for this system as below: ```` 'JOB=JOB1 'COMPILED=2007/02/23 19:10:26 'TYPE=dt80 DT=\d BEGIN"JOB1" CATTN 'Spans and polynomial declarations 'Thermistor declarations 'Switches declarations 'Parameter declarations 'Global declarations RS1M 'schedule definition PS=RS232,9600,N,8,1,NOFC 1SERIAL("\\e",W) 'schedule definition RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1M LOGONA GA 1SERIAL("FFFF,%f[29CV],%f[30CV],%f[31CV]\\e",W) 29CV("TL~m") 30CV("WT~DegC",FF2) 31CV("Tide Batt~V") 29..31CV(W)=0 END 'end of program file ```` Can u help me sir?

Good morning Jamil,

It might be better to lock on to the line header at the start of each line rather than simply request the data every one minute. This will ensure you are always synced to the data.

The schedule can be triggered on the arrival of a specific string on the Serial Sensor Port, you have a good header that you can use.

In DeLogger4 where you set the dataTaker sample speed, click on "Event"
Select "Serial Sensor Activity" from the list (Very last entry) and put FFFF, in for the "Serial trigger match text".

Cheers,
Roger

Good morning Jamil, It might be better to lock on to the line header at the start of each line rather than simply request the data every one minute. This will ensure you are always synced to the data. The schedule can be triggered on the arrival of a specific string on the Serial Sensor Port, you have a good header that you can use. In DeLogger4 where you set the dataTaker sample speed, click on "Event" Select "Serial Sensor Activity" from the list (Very last entry) and put FFFF, in for the "Serial trigger match text". Cheers, Roger

Good day Mr Roger...

I already set "Event" and Select "Serial Sensor Activity" from the list and put "FFFF" in the "Serial trigger match text" column as what u say. Finally I got no data at all from the string. What should I do? Is there any suggestion u can give me?.

Regards,
jamil

Good day Mr Roger... I already set "Event" and Select "Serial Sensor Activity" from the list and put "FFFF" in the "Serial trigger match text" column as what u say. Finally I got no data at all from the string. What should I do? Is there any suggestion u can give me?. Regards, jamil

Good afternoon jamil,

The code you posted shows the schedule is being read every 1 minute. As there are to different clocks involved they will go out of sync hence the problem reading the string.

Could you please email me (Or post here) you current code? It should be working.

Cheers,
Roger

Good afternoon jamil, The code you posted shows the schedule is being read every 1 minute. As there are to different clocks involved they will go out of sync hence the problem reading the string. Could you please email me (Or post here) you current code? It should be working. Cheers, Roger

Hello Sir,

How to change the flow-control for serial channel? Because, I'm trying to change the flow control from default setting (NOFC) to Hardware Handshaking (HWFC) but it did not work.

For example
Default setting is like this: RS232,15600,N,8,1,NOFC
I want to change from default setting to RS232,9600,N,8,1,HWFC

I'm using this command to change this setting;

PS= RS232,9600,N,8,1,HWFC

But after I update the setting, only baud rate was changing; however flows control still in default setting (NOFC).

Why these things were happen???.. or just using command //c0[1]

Plzzz help me asap.
Thanks

Regards...
jamil

Hello Sir, How to change the flow-control for serial channel? Because, I'm trying to change the flow control from default setting (NOFC) to Hardware Handshaking (HWFC) but it did not work. For example Default setting is like this: RS232,15600,N,8,1,NOFC I want to change from default setting to RS232,9600,N,8,1,HWFC I'm using this command to change this setting; ```` PS= RS232,9600,N,8,1,HWFC ```` But after I update the setting, only baud rate was changing; however flows control still in default setting (NOFC). Why these things were happen???.. or just using command //c0[1] Plzzz help me asap. Thanks Regards... jamil

Good morning Jamil,

There is no flow control in the serial sensor port with the current version of firmware (version 6.06). There is a new version of firmware (6.10) due for release very soon and it does add flow control to the serial sensor port.

I have just tested the new firmware and can confirm that it does work. You may download this firmware from dataTaker website.

Cheers
Roger

Good morning Jamil, There is no flow control in the serial sensor port with the current version of firmware (version 6.06). There is a new version of firmware (6.10) due for release very soon and it does add flow control to the serial sensor port. I have just tested the new firmware and can confirm that it does work. You may download this firmware from dataTaker website. Cheers Roger

Good morning Roger,

First of all, i want to say so many thanks to you because u guide me to solve my problem and now i can get the serial data input normally and till now the status of the data is good.

Thanks.

Regards,
jamil

Good morning Roger, First of all, i want to say so many thanks to you because u guide me to solve my problem and now i can get the serial data input normally and till now the status of the data is good. Thanks. Regards, jamil
38
6
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