Project

General

Profile

Actions

Support Request #10989

closed

EBPRODUCTSUPPORT-6631 Sending CAN data using Support TB fails

Added by hidden about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Platform:
Ubuntu 16.04 64bit, Windows 10 64bit
Topic:
DeviceTB::CAN
FAQ Links:

Description

Supportanfrage

Mein Kollege nutzt folgende Versionen:

ADTF 3.6.2
ADTF Device Toolbox 3.1

ADTF 2.14.3
ADTF 3 support toolbox 3.1
ADTF Device Toolbox 2.6.2

Er benutzt die ADTF 3 support toolbox um einen CAN stream von ADTF 2 nach 3 zu schicken mit der ADTF_3_Host_Only_Pipe_Sink. In ADTF 3 gibt es Probleme wenn er mit IPC Host only Source empfangen will. Es gibt dann den Fehler: "no sample deserializer factory for adtf.sample.can_message.adtf2_support.serialization.adtf.cid available".

In ADTF 3 fügte er dann den DevTB2 Support Service hinzu was die Fehlermeldung veränderte:
20 warning 01.04.2020 09:56 error occured in 'default_streaming_graph.IPC Host Only Receiver' (category: 'ipc_error'): Result code '-36 '(ERR_UNKNOWN_FORMAT) - Received unsupported message: 1948281961

"The error occurs already after initialization of the ADTF 2 Launcher (running not needed).
Adding the CAN Support Service does not change it.

IMHO we get some information from the original error
20 | warning | 2020-04-03 08:59:21 | error occured in 'default_streaming_graph.IPC Host Only Receiver' (category: 'ipc_error'): Result code '-38 '(ERR_FAILED) - no sample deserializer factory for 'adtf.sample.can_message.adtf2_support.serialization.adtf.cid' available
Unable to read from input stream. File: s:\cs\ce94ae\1\source\src\libraries\ipcsdk\src\ipc_sample_source.cpp<File://%20s:csce94ae1sourcesrclibrariesipcsdksrcipc_sample_source.cpp> [Line: 173] [Func: adtf::ipc::ant::detail::cIPCSampleSource::ReadStreams]
File: s:\cs\ce94ae\1\source\src\libraries\ipcsdk\include\adtfipcsdk\ipc_sample_source.h<File://%20s:csce94ae1sourcesrclibrariesipcsdkincludeadtfipcsdkipc_sample_source.h> [Line: 202] [Func: adtf::ipc::ant::ipc_sample_source<class cPipeInputStream>::Read] | error_handling.cpp(62)

It looks like that the ADTF 3 Support Library provides the Stream Type ID 'adtf.sample.can_message.adtf2_support.serialization.adtf.cid'.
Maybe would just be better if the suffix could be removed. Anyway I do not understand why the IPC Host Only Source cares about the stream type. Just ignoring it and writing an adapter filter would at least work.

Is there a workaround? Should this work?

Then one more question:

In ADTF 2 often the CAN channel 0 was used. The CAN Support Service in the ADTF 3.1 Device Toolbox currently supports CAN Channels 1 to 9. I saw in some planned ticket that there will be up to 16 CAN channels supported. Will the CAN channel 0 also be supported?"

Lösung

Wird mit Device TB 3.2.0 gefixt (ADEVTB-1796)


Files

Actions

Also available in: Atom PDF