AGG Software Forums
September 20, 2024, 01:43:37 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: Data send request not working  (Read 11254 times)
dle
Newbie
*

Karma: +0/-0
Posts: 2


View Profile
« on: July 09, 2014, 10:00:00 AM »

Hi,

I am trying to set up the trial version of the serial data logger to retrieve data from some Vaisala monitors. The request command is SEND 10\r.

I have set up the send command in the ASCII data query and parser module to be sent every 5 seconds, this is displayed in the data window but no data is returned from the monitors. I have also tried converting the \r of the command to ASCII codes but there is still no data returned.

If I set the vaisala monitors to a run mode to send out data every 5 seconds then the data is received by the serial data logger and displayed in the window so I know that the serial port is set up correctly. I have also used a different program (DasyLab) to send out the data request and this will work and the data is returned from the monitors.

Kind regards

Donald
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: July 11, 2014, 10:00:00 AM »

Please, specify your request as:

SEND 10#0A

where #0A will be converter to a byte with 0x0A hexadecimal code

\r => LF => 10d => 0Ah => #0A
Logged
dle
Newbie
*

Karma: +0/-0
Posts: 2


View Profile
« Reply #2 on: August 02, 2011, 01:22:56 PM »

Thanks for the reply Arthur,

It actually needed #0D at the end to get it to work so I assume the \r equates to CR but your response sent me in the right direction.

Kind regards

Donald
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines