Skip to content

Fix transmission of signals by Test Automation Executor#1116

Open
itiserik wants to merge 1 commit intorbei-etas:masterfrom
itiserik:issue_1113
Open

Fix transmission of signals by Test Automation Executor#1116
itiserik wants to merge 1 commit intorbei-etas:masterfrom
itiserik:issue_1113

Conversation

@itiserik
Copy link
Copy Markdown

@itiserik itiserik commented Nov 1, 2017

The order of signals obtained by pMsg->GetSignalList( signalList ); is
determined by keys of the map. In this case it is ISignal* and
having items sorted on the address of a pointer makes no sense.
Moreover on every invocation of GetSignalList() we get another map of
pointers so perhaps there is a memory leak as well.

The order of signals in ouSendData.m_odSignalDataList is determined by the signals
present in the testsetup xml file and we cannot make any assumptions on this.

So the signals in the signalList (containing startaddresses, endianess etc)
must be matched to the ouSendData.m_odSignalDataList on signalName.

The GetProperties (DBManager.dll ?) function previously used in un64GetBitMask
did not initialize m_ouEndianess and this results in unpredictable results.
For CAN this was the last place in BUSMASTER m_ouEndianess was used.

The order of signals obtained by pMsg->GetSignalList( signalList ); is
determined by keys of the map. In this case it is ISignal* and
having items sorted on the address of a pointer makes no sense.
Moreover on every invocation of GetSignalList() we get another map of
pointers so perhaps there is a memory leak as well.

The order of signals in ouSendData.m_odSignalDataList is determined by the signals
present in the testsetup xml file and we cannot make any assumptions on this.

So the signals in the signalList (containing startaddresses, endianess etc)
must be matched to the ouSendData.m_odSignalDataList on signalName.

The GetProperties (DBManager.dll ?) function previously used in un64GetBitMask
did not initialize m_ouEndianess and this results in unpredictable results.
For CAN this was the last place in BUSMASTER m_ouEndianess was used.
@Pehrsson
Copy link
Copy Markdown

Pehrsson commented Oct 3, 2019

Can't build this commit or any in busmaster... Is it possible to get the .dll from you somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants