News:

Welcome on our forum!

Main Menu

Data send request not working

Started by dle, July 09, 2014, 07:00:00 AM

Previous topic - Next topic

dle

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

Arthur Grasin

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
If you like my work, please take a few seconds and add feedback about our site or our software [here]

dle

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