Fix signal viewer so that it handles multiplexed signals properly
This commit is contained in:
@@ -97,6 +97,8 @@ void SignalViewerWindow::processFrame(CANFrame &frame)
|
||||
sig = signalList.at(i);
|
||||
if (!sig) return;
|
||||
if (sig->parentMessage->ID == frame.frameId())
|
||||
{
|
||||
if (sig->isSignalInMessage(frame)) //filter out multiplexed signals that aren't in this message.
|
||||
{
|
||||
if (sig->processAsText(frame, sigString, false)) //if true we could interpret the signal so update it in the list
|
||||
{
|
||||
@@ -111,6 +113,7 @@ void SignalViewerWindow::processFrame(CANFrame &frame)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void SignalViewerWindow::removeSelectedSignal()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user