diff --git a/Source/Processors/Channel/Channel.cpp b/Source/Processors/Channel/Channel.cpp index b66b9d32f0e47788014a59c6c9a75028b37bfeed..e3a20afb7daffa9ce07d6e6c95a3353114d5f32b 100644 --- a/Source/Processors/Channel/Channel.cpp +++ b/Source/Processors/Channel/Channel.cpp @@ -24,7 +24,7 @@ #include "Channel.h" -Channel::Channel(GenericProcessor* p, int n, ChannelType t) : index(n), processor(p), type(t), nodeIndex(0), mappedIndex(n) +Channel::Channel(GenericProcessor* p, int n, ChannelType t) : index(n), processor(p), type(t), nodeIndex(0), mappedIndex(0) { reset(); } diff --git a/Source/Processors/GenericProcessor/GenericProcessor.cpp b/Source/Processors/GenericProcessor/GenericProcessor.cpp index 08191048b8de2d80f29bf2985b771c3f8bd78930..618d475b86a1645c67aec8e9d8ef4a9c6d5d9143 100755 --- a/Source/Processors/GenericProcessor/GenericProcessor.cpp +++ b/Source/Processors/GenericProcessor/GenericProcessor.cpp @@ -369,6 +369,7 @@ void GenericProcessor::update() ch->bitVolts = getBitVolts(ch); ch->sourceNodeId = nodeId; ch->nodeIndex = nidx; + ch->mappedIndex = nidx; if (i < recordStatus.size()) { @@ -392,6 +393,7 @@ void GenericProcessor::update() ch->bitVolts = getBitVolts(ch); ch->sourceNodeId = nodeId; ch->nodeIndex = nidx; + ch->mappedIndex = nidx; if (j < recordStatus.size()) { @@ -415,6 +417,7 @@ void GenericProcessor::update() ch->bitVolts = getBitVolts(ch); ch->sourceNodeId = nodeId; ch->nodeIndex = nidx; + ch->mappedIndex = nidx; if (k < recordStatus.size()) {