Suur Karu wrote:
Thank you for response.
I think I see problem.
RID set manually to not zero (and channels names not messed up):
From 10722 to 10762:
GetByChannelID: S4.0W-4369-1-1 0 0 sid = 1 GetByChannelID: S4.0W-0-110762-1 0 0 sid = 1
Same case (10722->10762) with RID=0:
GetByChannelID: S4.0W-4369-1-1 0 0 sid = 1 channel->Sid() = 1 channel->Nid() = 4369 channel->Tid() = 1 channel->Transponder() = 110722 channel->GetChannelID() = S4.0W-4369-1-1
Transponder value is wrong. It must be 110762. Or isn't?
Well, the incoming channel id is S4.0W-4369-1-1, and according to your initial channels.conf excerpt
K1;SPACECOM:10722:h:S4.0W:27500:257:258:0:0:1:4369:1:0
that channel is on transponder 10722. The line
channel->Transponder() = 110722
in the above output indicates that the channel that is returned from the cChannels::GetByChannelID() call is on transponder 10722 (the first '1' represents the polarization).
So I'm afraid I can't see anything wrong.
Klaus