Jump to content


Photo

Fix /Components/TunerInfo.py


  • Please log in to reply
8 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 9 March 2014 - 19:57

Original version:

SNR_DB = 1 ?????????

AGC = 1  ??????????

class TunerInfo(GUIComponent):
	SNR = 0
	AGC = 1
	BER = 2
	LOCK = 3
	SNR_PERCENTAGE = 0
	SNR_DB = 1
	AGC_PERCENTAGE = 2
	BER_VALUE = 3
	SNR_BAR = 4
	AGC_BAR = 5
	BER_BAR = 6
	LOCK_STATE = 7
	SYNC_STATE = 8

Fix:

--- a/TunerInfo.py
+++ b/TunerInfo.py
@@ -6,11 +6,10 @@
 
 class TunerInfo(GUIComponent):
 	SNR = 0
-	AGC = 1
-	BER = 2
-	LOCK = 3
-	SNR_PERCENTAGE = 0
 	SNR_DB = 1
+	AGC = 2
+	BER = 3
+	SNR_PERCENTAGE = 0
 	AGC_PERCENTAGE = 2
 	BER_VALUE = 3
 	SNR_BAR = 4
@@ -18,6 +17,7 @@
 	BER_BAR = 6
 	LOCK_STATE = 7
 	SYNC_STATE = 8
+	LOCK = 9
 
 	def __init__(self, type, servicefkt = None, frontendfkt = None, statusDict = None):
 		GUIComponent.__init__(self)
@@ -38,7 +38,7 @@
 	def setValue(self, value):
 		self.value = value
 		if self.instance:
-			self.instance.setValue(self.value)		
+			self.instance.setValue(self.value)
 
 	def calc(self,val):
 		if not val:
@@ -129,6 +129,8 @@
 			return self.g
 
 	def postWidgetCreate(self, instance):
+		if instance is None:
+			return
 		if self.message is not None:
 			instance.setText(self.message)
 		elif self.value is not None:

 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Fix /Components/TunerInfo.py #2 littlesat

  • PLi® Core member
  • 56,262 posts

+691
Excellent

Posted 9 March 2014 - 21:30

I suggest that is not required...

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


Re: Fix /Components/TunerInfo.py #3 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 10 March 2014 - 06:26

I suggest that is not required...

Why is that :( :( :( ?

There is a clear error.

I added PositionerSetup show AGC bar.

And it does not work because of errors in children TunerInfo.


Edited by Dima73, 10 March 2014 - 06:26.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Fix /Components/TunerInfo.py #4 littlesat

  • PLi® Core member
  • 56,262 posts

+691
Excellent

Posted 10 March 2014 - 07:59

What are the exact incorrect issues.... Can someone post a screenshot as example... I'm carefull with this as the issue must be in there for ever...

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


Re: Fix /Components/TunerInfo.py #5 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 10 March 2014 - 08:22

Original version:

SNR_DB = 1 ?????????

AGC = 1  ??????????

Why ?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Fix /Components/TunerInfo.py #6 Dimitrij

  • PLi® Core member
  • 9,994 posts

+338
Excellent

Posted 10 March 2014 - 10:36

littlesat

Thank you.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Fix /Components/TunerInfo.py #7 littlesat

  • PLi® Core member
  • 56,262 posts

+691
Excellent

Posted 10 March 2014 - 10:50

Sorry first I had to understand it... as this is a bug for a long time... ;) Thanks!


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


Re: Fix /Components/TunerInfo.py #8 gladiat

  • Member
  • 10 posts

0
Neutral

Posted 5 July 2014 - 16:01

Good day

 

Is this topic related to the issue of AGC showing always 0% in ET9000

If yes could you please help on this issue

How to fix it

 

THX



Re: Fix /Components/TunerInfo.py #9 littlesat

  • PLi® Core member
  • 56,262 posts

+691
Excellent

Posted 5 July 2014 - 16:53

Nope!

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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users