Sending serial data to DL1 MkII
Posted: Wed Jun 12, 2019 9:55 am
Good morning,
I have a question about sending serial data to a DL1 for it to include in a log file.
We currently have a DL1 MkII in our endurance car, connected to an arduino fitted with a custom shield which has one RS232 channel and two CAN channels.
The RS232 channel decodes the serial stream from the DL1 at 115200 BAUD, one of the CAN channels decodes CAN messages from our ECU at 500kbps and the second CAN channel outputs data to our steering wheel at 125KBPS. There is also a USB port which outputs data to our custom dash screen.
All of the above is working well but now we'd like to include some of the data we are receiving from the ECU in the DL1 log file.
Is the data format for sending data to the DL1 the same as the data format it transmits data in?
ie. If I want to send a 9th analog channel (all 8 physical channels are in use) and include it in the log file do I just send [Channel Number][Data High][Data Low][Checksum] or is there a different protocol? If that protocol is correct does it automatically get logged or do I have to turn it on somewhere? Also can I send data to the DL1 on the same port as the output stream or should it be sent to the other port?
Thanks in advance for any assistance,
Gareth
I have a question about sending serial data to a DL1 for it to include in a log file.
We currently have a DL1 MkII in our endurance car, connected to an arduino fitted with a custom shield which has one RS232 channel and two CAN channels.
The RS232 channel decodes the serial stream from the DL1 at 115200 BAUD, one of the CAN channels decodes CAN messages from our ECU at 500kbps and the second CAN channel outputs data to our steering wheel at 125KBPS. There is also a USB port which outputs data to our custom dash screen.
All of the above is working well but now we'd like to include some of the data we are receiving from the ECU in the DL1 log file.
Is the data format for sending data to the DL1 the same as the data format it transmits data in?
ie. If I want to send a 9th analog channel (all 8 physical channels are in use) and include it in the log file do I just send [Channel Number][Data High][Data Low][Checksum] or is there a different protocol? If that protocol is correct does it automatically get logged or do I have to turn it on somewhere? Also can I send data to the DL1 on the same port as the output stream or should it be sent to the other port?
Thanks in advance for any assistance,
Gareth