Jump to content


Photo

Scanning DVB-C. Include kHz


  • Please log in to reply
108 replies to this topic

Re: Scanning DVB-C. Include kHz #61 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 08:26

Isn't that what Abu said before?

-->

But on other places it comes back as MHz.... But I'm afraid the community makes a mess out of it because "they" missed ConfigFloat... 

 

Not it considered to be changed for ATSC, DVB-T and probably all "gettransponder info" stuff aswell.....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #62 Huevos

  • PLi® Contributor
  • 4,405 posts

+160
Excellent

Posted 11 October 2016 - 08:54

If using kHz is so wrong why has PLi used it for so many years to enter terrestrial frequencies? Seems like work for work's sake to me, and makes the code behind the scenes more error prone, just for the sake of displaying a decimal point in the user interface.


Edited by Huevos, 11 October 2016 - 08:58.


Re: Scanning DVB-C. Include kHz #63 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 09:09

Indeed wierd why we did not change this for years.... Alt least for dvb-t and atsc... I'm afraid when this was made, the mistake was made far far away.... And as dvb-c was nicely in MHz, it was just noticed due to these offline frequencies.... Sjips happens....

But as far I can see the required patches are relativaly simple.... When we keep the low level as is... Only atsc I have to change "blindly"....

I do not want to make changes in the transponder tool (there also the drivers do return the frequencies.... Dvb-c in KHz and dvb-t in Hz).... Let's just focus on the ui...

Edited by littlesat, 11 October 2016 - 09:41.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #64 Abu Baniaz

  • PLi® Contributor
  • 2,463 posts

+62
Good

Posted 11 October 2016 - 09:13

I do not want to make changes in the transponder tool... Let's just focus on the ui...


Hopefully fix the crash too.

Re: Scanning DVB-C. Include kHz #65 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 09:41

Which crash?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #66 Abu Baniaz

  • PLi® Contributor
  • 2,463 posts

+62
Good

Posted 11 October 2016 - 09:44

Which crash?

Documented in post 59. Crashlog also attached.

Re: Scanning DVB-C. Include kHz #67 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 10:56

Thanks...

 

Sounds like I miss something... ;)

 

Can you please try for me...?

 

line 1486 in ScanSetup.py...

-compare = [1, self.scan_cab.frequency.value*1000, self.scan_cab.symbolrate.value*1000, self.scan_cab.modulation.value, self.scan_cab.fec.value, self.scan_cab.inversion.value, self.scan_cab.system.value]
+compare = [1, self.scan_cab.frequency.value[0]*1000 + self.scan_cab.frequency.value[1], self.scan_cab.symbolrate.value*1000, self.scan_cab.modulation.value, self.scan_cab.fec.value, self.scan_cab.inversion.value, self.scan_cab.system.value]

Edited by littlesat, 11 October 2016 - 10:58.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #68 Abu Baniaz

  • PLi® Contributor
  • 2,463 posts

+62
Good

Posted 11 October 2016 - 11:09

1. Predefined transponder shows up.
2. No crash.
3. user defined still not loading exact frequency

Many thanks.

Attached Files


Edited by Abu Baniaz, 11 October 2016 - 11:09.


Re: Scanning DVB-C. Include kHz #69 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 11:45

User defined will carch nearer freq from the "list"...???

Sorry currenly I have no box available to test and debug an my cable provider has exact frequencies....

But do youmin short mean when you go from predefined to user frequenties it jumps defaultly to 370.000?

Edited by littlesat, 11 October 2016 - 11:48.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #70 Abu Baniaz

  • PLi® Contributor
  • 2,463 posts

+62
Good

Posted 11 October 2016 - 13:18

normally, when you go to manual scan, user defined, it should autoload the frequency of the channel you are on. it is rounding down the frequency. If channel was on 370.750, it autoloads 370.000. If I was 410.750, it autoloads 410.000

I have transferred the cables.xml file (attached in thread already). I can select exact predefined xxx.750 frequencies (starts from 114.750 to 746.750) I can also manually enter them thanks to your changes.

Sent from my HTC One M9PLUS using Forum Fiend v1.3.3.

Re: Scanning DVB-C. Include kHz #71 Huevos

  • PLi® Contributor
  • 4,405 posts

+160
Excellent

Posted 11 October 2016 - 13:21

1. Predefined transponder shows up.
2. No crash.
3. user defined still not loading exact frequency

Many thanks.

3) is because no sub-decimal value has been entered here.

https://github.com/O...anSetup.py#L989



Re: Scanning DVB-C. Include kHz #72 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 13:52

Indeed stupid me... the same issue I had with dab-t thanks

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #73 Huevos

  • PLi® Contributor
  • 4,405 posts

+160
Excellent

Posted 11 October 2016 - 13:57

- defaultCab["frequency"] = frontendData.get("frequency", 0) / 1000
+ defaultCab["frequency"] = frontendData.get("frequency", 0)

- self.scan_cab.frequency = ConfigFloat(default = [defaultCab["frequency"], 0], limits = [(50, 999), (0,999)])
+ self.scan_cab.frequency = ConfigFloat(default = [defaultCab["frequency"]/1000, defaultCab["frequency"]%1000], limits = [(50, 999), (0,999)])



Re: Scanning DVB-C. Include kHz #74 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 14:44

exactly ;)


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #75 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 15:05

FYI: https://github.com/O...9d4d8061cc19522

 

Nice....now it also fixes an issue when you scan the transponder you currently watching as it adjust to KHz....

 

Next step.... do the same for DVB-T and ATSC...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #76 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 11 October 2016 - 16:04

Why to change DVB-T and ATSC to MHz? We are already using kHz!

Attached File  474000.jpg   68.47KB   1 downloads

To be honest it's really strange that we didn't change DVB-C to use kHz and took this strange approach with floats.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Scanning DVB-C. Include kHz #77 littlesat

  • PLi® Core member
  • 56,612 posts

+694
Excellent

Posted 11 October 2016 - 16:25

The read the while thread... We want MHz... With decimal point... ;) in fact this is all about that decimal point... ;) for dvb-t we had to do that years ago....

In additin we need to remove all these transponder details.... (When all is auto!)

Edited by littlesat, 11 October 2016 - 16:27.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Scanning DVB-C. Include kHz #78 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 11 October 2016 - 16:31

What's wrong with kHz?

DVB-C doesn't look good in manual scan.

Attached File  000.466.jpg   59.27KB   4 downloads

Edited by athoik, 11 October 2016 - 16:31.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Scanning DVB-C. Include kHz #79 Huevos

  • PLi® Contributor
  • 4,405 posts

+160
Excellent

Posted 11 October 2016 - 16:51

What's wrong with kHz?

DVB-C doesn't look good in manual scan.

attachicon.gif000.466.jpg

That is because it is wrong here...

	def createConfig(self, frontendData):
		defaultSat = {
			"orbpos": 192,
			"system": eDVBFrontendParametersSatellite.System_DVB_S,
			"frequency": 11836,
			"inversion": eDVBFrontendParametersSatellite.Inversion_Unknown,
			"symbolrate": 27500,
			"polarization": eDVBFrontendParametersSatellite.Polarisation_Horizontal,
			"fec": eDVBFrontendParametersSatellite.FEC_Auto,
			"fec_s2": eDVBFrontendParametersSatellite.FEC_9_10,
			"modulation": eDVBFrontendParametersSatellite.Modulation_QPSK,
			"pls_mode": eDVBFrontendParametersSatellite.PLS_Root,
			"pls_code": 1 }
		defaultCab = {
			"frequency": 466


Re: Scanning DVB-C. Include kHz #80 Huevos

  • PLi® Contributor
  • 4,405 posts

+160
Excellent

Posted 11 October 2016 - 17:09

What's wrong with kHz?

Nothing. And when it comes to doing terrestrial using configFloat the code is going to be more difficult.

 

This is just vanity. Just to display a decimal point in the user interface look at the extra complexity needed in the code. And all this just to tell a contributor his code is wrong.

Here's what a mess it brings. if you add DVB-T.

https://github.com/H...379af4611d08fa3


Edited by Huevos, 11 October 2016 - 17:10.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users