IS there an Option to retune the tuned Channel on Errors? (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    You're absolutely right! Soooooo sorry! :oops::sorry:
    The logic was reversed by mistake. Too late at night (or maybe too early in the morning actually). I have fixed that now...

    Pause graph will be required for the moment because otherwise the code doesn't know what channel was last tuned, meaning that it doesn't know what position the motor is in. If it didn't know what position the motor is in then it would have to assume that the motor has to move every time which means waiting for the motor timeout for every channel change - not desirable! In fact, pause graph should be faster than stop graph anyway. That is why the option was made available. Stop graph is only left as an option for tuners with drivers that are not compatible. Your card seems to be okay with it...

    In response to your earlier comments: I think the motor command only overrides the switch command when the motor has to move. Actually I think the command gets to the switch but the motor must somehow reset it when it starts to move. Resending the switch command takes at least 100ms. We don't want to do this unless we have to. For the moment I am only forcing the wait for the motor and then resending the switch command after that when the motor has to move to try and minimise the delay for tuning. If we find that the tuner doesn't lock when then motor hasn't moved then we'll have to resend the switch command for every tune. I'd like to avoid that if possible.

    Try this version...
     

    Attachments

    • Version4.zip
      768.2 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    In fact, I just realised I can save a little more time for you by not sending the motor commands if we know the motor is in the correct position.
     

    Attachments

    • Version5.zip
      768.2 KB

    MaxT

    MP Donator
  • Premium Supporter
  • December 9, 2009
    112
    13
    Home Country
    Russian Federation Russian Federation
    Hi!

    Tested V5 and noticed that from time to time it fails to tune to the channel on the same sat (second and further tunes) then after jumping from channel to channel it locks and then tunes OK even at those which failed a while ago.

    Seems that at some point it fails to recognise that channels are on the same sat, sends "full" command to tune but witout extra switch command.

    To make testing more structured, I've made the test group of FTA channels:

    36E (LNB AB)
    - A-One
    - Инфоканал
    - TV 3
    - НТК

    13E (LNB AA)
    - Vesti
    - Blomberg
    - BBC World news
    - TV5Monde Europe

    9E (LNB AA)
    - RTV
    - 3DV Promo
    - Luxe TV HD
    - Kabelkiosk - InfoKanal

    Will try to test V4 a bit later.

    Uploaded V4 logs. Seems that the issue of the first tune appears here as well - first tunes to a channel on the same sat fails, sect and further may also fail until the dish moves to another sat. If the first tune is on another sat, it may also fail. Cannot figure out what is commom in those failures. There are four logs sets. I made them after another i.e. the last sat in one set is where the dish was when the next set started.

    :D again for your help!

    Regards,

    MaxT
     

    Attachments

    • log_V_5_1.zip
      25.4 KB
    • log_V_4_4.zip
      7.6 KB
    • log_V_4_3.zip
      8.8 KB
    • log_V_4_2.zip
      16.1 KB
    • log_V_4_1.zip
      13.1 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Hi again MaxT

    Would you agree that we're getting pretty close to an adequate solution? The logs for version 5 look like the tuner only fails to lock in a few cases. Most of the time it is very successful. The cases where lock does fail are strange. In some cases the motor code decides that the motor needs to move when I don't think it needs to. I have created another test version which listens to the motor code. If the motor code says it sent motor commands then my patch waits for the motor to finish moving (motor timeout) and resends the switch command. If the motor code says it *didn't* send motor commands then I don't wait or resend the switch command. Hopefully this should make things more reliable...

    I'm off to bed now since it is after midnight here and I have to work tomorrow. Hopefully this version 6 works even better than version 5... ;)
     

    Attachments

    • Version6.zip
      768.1 KB

    MaxT

    MP Donator
  • Premium Supporter
  • December 9, 2009
    112
    13
    Home Country
    Russian Federation Russian Federation
    Hi mm1352000!

    I would say it is you who is pretty close since I am just following and commenting/criticising and therefore cannot claim any kind of authorship :)

    Many thanks! I will test and post logs.

    Posted V6 logs, definitely much more stable, however there were several failures (not related to first tunes on a sat) which reason I cannot logically explain :( since further tunes to the same channels we OK.

    Also I noticed a strange thing: after such failures (at least I think that after them and this is not s separate issue) in the manual control window two lines of Card 1 Timeshifting different channels (of the same sat) appeared - the one Card 1 just tuned to and the one that failed one or may be two tunes before that on Card 1 (note that I have only 1 card). No idea what this could mean. Unfortunately I do not know how to make and post TV server configuration screenshots to show. Do you have any idea what coul this be?

    Regards,
    MaxT
     

    Attachments

    • log_V_6.zip
      38.2 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Hi again MaxT

    Posted V6 logs, definitely much more stable, however there were several failures (not related to first tunes on a sat) which reason I cannot logically explain since further tunes to the same channels we OK.

    I have had a look, but like you I can't see any pattern. Frustrating!

    Also I noticed a strange thing: after such failures (at least I think that after them and this is not s separate issue) in the manual control window two lines of Card 1 Timeshifting different channels (of the same sat) appeared - the one Card 1 just tuned to and the one that failed one or may be two tunes before that on Card 1 (note that I have only 1 card). No idea what this could mean. Unfortunately I do not know how to make and post TV server configuration screenshots to show. Do you have any idea what coul this be?

    This might partially explain what is happening. Can you please take a screenshot of the "manual" (or is it "manual control" - not sure because I'm at work) section of the configuration showing the timeshifting on both channels and then also look at the "users" (I'm sure this is not the correct name, sorry) to see what users are connected to TV Server at the time. You can take a screenshot by pressing [ALT + PrintScreen] with the TV Server configuration window selected, paste the image into Paint (or Photoshop, Gimp etc), save the image and post it here so I can see...
     

    MaxT

    MP Donator
  • Premium Supporter
  • December 9, 2009
    112
    13
    Home Country
    Russian Federation Russian Federation
    Hi again mm1352000!

    I will try to do more extensive tests and post screenshots later today - had to power off my HTPC so cannot do this remotely :(.

    Regards,

    MaxT
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    One other thing I'd be interested to know: did the unusual failures happen without the patch, or do you think they are somehow caused by the patch?
     

    MaxT

    MP Donator
  • Premium Supporter
  • December 9, 2009
    112
    13
    Home Country
    Russian Federation Russian Federation
    Hi again mm1352000!

    Sorry for my silence - hard day.

    I've attached how the issue looks like and the relevant log. Not sure whether this is caused by the patch since tune failures happened before from time to time without any particular pattern. Also never before I've tried to switch channels in the manual control section and in the MP GUI mode this issue is also cannot be seeen.

    Any thoughts what could it be?

    Regards,

    MaxT
     

    Attachments

    • 1.png
      1.png
      108.7 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Ah-hah!

    The log (along with the help of the screenshot) makes it very clear this time - it is the DVB EPG grabber. The reason you can see two users is because the channels that are being tuned by you and the EPG grabber are on the same transponder, so they can share the same card. I will look back over the old logs when I have a chance and see if this is the reason for some of the previous failures. I think that if you don't see the issue in the MP GUI then we may just need to ignore it. I mean, as long as the GUI works all the time and TV configuration works most of the time then things are better than they were to start with...
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom