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);
|
sig = signalList.at(i);
|
||||||
if (!sig) return;
|
if (!sig) return;
|
||||||
if (sig->parentMessage->ID == frame.frameId())
|
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
|
if (sig->processAsText(frame, sigString, false)) //if true we could interpret the signal so update it in the list
|
||||||
{
|
{
|
||||||
@@ -110,6 +112,7 @@ void SignalViewerWindow::processFrame(CANFrame &frame)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SignalViewerWindow::removeSelectedSignal()
|
void SignalViewerWindow::removeSelectedSignal()
|
||||||
|
|||||||
Reference in New Issue
Block a user