home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Modifying LNB setting sent to DVB-s Card
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="M4TH" data-source="post: 150113" data-attributes="member: 29744"><p>Hi </p><p>I'm trying to change the LNb setting sent to tune a sat channel.</p><p>I use a 22khz switch to change between to satellite.</p><p>The switch use the lnbSwitchFreq setting to operate.</p><p></p><p>The log files show that the lnbSwitch setting is changed, but the tuner doesn't work. </p><p>The tuner work fine if a change the LnbSwitchFrequency in "settings" table in MSSQL!!!</p><p></p><p></p><p>here what I changed in TvCardDVBS.cs:</p><p>[CODE]</p><p> public ITvSubChannel Tune(int subChannelId, IChannel channel)</p><p>...</p><p> int lowOsc = 9750;</p><p> int hiOsc = 10600;</p><p> int lnbSwitch = 11700;</p><p> </p><p></p><p> BandTypeConverter.GetDefaultLnbSetup(Parameters, dvbsChannel.BandType, out lowOsc, out hiOsc, out lnbSwitch);</p><p></p><p> [COLOR="Red"] if(dvbsChannel.SatelliteIndex == 114){//sat 91</p><p> lnbSwitch = 12700;</p><p> }else{//sat 82</p><p> lnbSwitch = 12200;</p><p> }[/COLOR]</p><p></p><p> Log.Log.Info("LNB low:{0} hi:{1} switch:{2} sat:{3}", lowOsc, hiOsc, lnbSwitch, dvbsChannel.SatelliteIndex);</p><p> </p><p></p><p></p><p>[/CODE]</p><p></p><p></p><p>and in Twinhan.cs</p><p>[CODE]</p><p>public void SendDiseqCommand(ScanParameters parameters, DVBSChannel channel)</p><p> ...</p><p></p><p> BandTypeConverter.GetDefaultLnbSetup(parameters, channel.BandType, out LNBLOFLowBand, out LNBLOFHighBand, out LNBLOFHiLoSW);</p><p> if (LNBLOFHiLoSW == 0) LNBLOFHiLoSW = 18000; // dont use lo/hi switch...</p><p></p><p> [COLOR="Red"] if (channel.SatelliteIndex == 114)</p><p> {//91</p><p> LNBLOFHiLoSW = 12700;</p><p> }</p><p> else</p><p> {</p><p> LNBLOFHiLoSW = 12200;</p><p> }[/COLOR]</p><p></p><p></p><p>[/CODE]</p><p></p><p>Could anyone help me?</p><p>I've search a lot in the code and I can't see where the tuner realy get's it Lnb switch frequency setting!</p><p></p><p>Thanks</p><p>Math.</p></blockquote><p></p>
[QUOTE="M4TH, post: 150113, member: 29744"] Hi I'm trying to change the LNb setting sent to tune a sat channel. I use a 22khz switch to change between to satellite. The switch use the lnbSwitchFreq setting to operate. The log files show that the lnbSwitch setting is changed, but the tuner doesn't work. The tuner work fine if a change the LnbSwitchFrequency in "settings" table in MSSQL!!! here what I changed in TvCardDVBS.cs: [CODE] public ITvSubChannel Tune(int subChannelId, IChannel channel) ... int lowOsc = 9750; int hiOsc = 10600; int lnbSwitch = 11700; BandTypeConverter.GetDefaultLnbSetup(Parameters, dvbsChannel.BandType, out lowOsc, out hiOsc, out lnbSwitch); [COLOR="Red"] if(dvbsChannel.SatelliteIndex == 114){//sat 91 lnbSwitch = 12700; }else{//sat 82 lnbSwitch = 12200; }[/COLOR] Log.Log.Info("LNB low:{0} hi:{1} switch:{2} sat:{3}", lowOsc, hiOsc, lnbSwitch, dvbsChannel.SatelliteIndex); [/CODE] and in Twinhan.cs [CODE] public void SendDiseqCommand(ScanParameters parameters, DVBSChannel channel) ... BandTypeConverter.GetDefaultLnbSetup(parameters, channel.BandType, out LNBLOFLowBand, out LNBLOFHighBand, out LNBLOFHiLoSW); if (LNBLOFHiLoSW == 0) LNBLOFHiLoSW = 18000; // dont use lo/hi switch... [COLOR="Red"] if (channel.SatelliteIndex == 114) {//91 LNBLOFHiLoSW = 12700; } else { LNBLOFHiLoSW = 12200; }[/COLOR] [/CODE] Could anyone help me? I've search a lot in the code and I can't see where the tuner realy get's it Lnb switch frequency setting! Thanks Math. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Modifying LNB setting sent to DVB-s Card
Contact us
RSS
Top
Bottom