How to send serial data to the DL2?

hector
Posts: 6
Joined: Tue Jul 06, 2010 10:51 pm

How to send serial data to the DL2?

Postby hector » Thu Jul 08, 2010 11:13 pm

The DL2 can transmit data correctly to the pc, but how to let it log the serial data transmitted from the pc? I tried series like "095, 001, 050, 050, 196", but it seems not work. Should I set something? Thanks
:?

Support

Postby Support » Fri Jul 09, 2010 10:18 am

The DL2 expects a Race Technology serial data format from any serial data source. If you can configure your serial data according to the information in the link below you should be able to do this.

http://www.race-technology.com/wiki/ind ... DataFormat

hector
Posts: 6
Joined: Tue Jul 06, 2010 10:51 pm

Postby hector » Fri Jul 09, 2010 2:37 pm

Hi, thank you
I send the data according to that serial data format, but it not works. So what might be wrong? :shock:

Support

Postby Support » Fri Jul 09, 2010 3:21 pm

Is the serial port set up on the DL2 configured to receive data?
This is the tick box in the Serial Port tab in the DL2 configuration software, you need to remove the tick from the box and then set the baud rate to the correct setting.

hector
Posts: 6
Joined: Tue Jul 06, 2010 10:51 pm

Postby hector » Fri Jul 09, 2010 4:17 pm

Got it, Thank you :D

hector
Posts: 6
Joined: Tue Jul 06, 2010 10:51 pm

Postby hector » Mon Jul 12, 2010 2:47 pm

Hi Support,

Sorry to bother you again. I followed your instructions, but it still not works. For example, if I want to send to analog 17, I wrote "036, 042, 100, 178" every 0.1 second. What might be the reasons that caused this. Thank you

Turby
Posts: 296
Joined: Thu Nov 17, 2005 2:28 pm

Postby Turby » Tue Jul 13, 2010 1:25 pm

Could be lots of things... worth checking your RS232 wiring with a brake out box and also the configuration of the RS232 on your device (baud rate, data bits, parity, stop bits). Double check your DL2 configuration settings as well.

Support

Postby Support » Wed Jul 14, 2010 10:41 am

You can try writing the data in to a file and then loading it in to the Lite Monitor to see if it is correct.
In the latest version of the lite monitor there is an option to show data which is transmitted from the file transmit feature so you can use that to test your messages.

You will need to download the latest Analysis software package (Build 7071)

hector
Posts: 6
Joined: Tue Jul 06, 2010 10:51 pm

Postby hector » Wed Jul 14, 2010 3:45 pm

Hi Turby and Support,

Thank you, and I'm going to test that :D

hector
Posts: 6
Joined: Tue Jul 06, 2010 10:51 pm

Postby hector » Fri Sep 03, 2010 5:20 pm

Hi,

I'm very sorry, the serial receive still not work...The
connection is correct and the baud rate is 115200, disable
the "decode serial data". And I save the output stream to a
file and the analysis software can work on it properly. But
just can send data to DAQ? Is there any other possible
reason? Do I need to update the hardware? Thanks

SundayForever
Posts: 3
Joined: Thu Apr 14, 2011 7:18 am

Postby SundayForever » Fri Apr 15, 2011 1:12 am

Hey guys, do it with your heart! Come on!


Return to “General software support”

Who is online

Users browsing this forum: No registered users and 32 guests