Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 100

Thread: Yamaha RX-V1500 Serial and Control (JYamaha)

  1. #81
    Join Date
    Nov 2003
    Posts
    17

    Default

    oh ya and I forgot ... again if I wait a few minutes and press some buttons on the remote the console stops responding and here is the tail end of that ...


    Data received:---301300---
    Got Generic Report
    Thr/Bypass
    Sending: Off to Yamaha.ThrBypass
    Data received:---102200---
    Got Generic Report
    Input Mode
    Sending: Auto to Yamaha.InputMode
    Serial Error (CallLua, Code=289): attempt to call a nil value
    stack traceback:

  2. #82
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Quote Originally Posted by sk00t3r
    oh ya and I forgot ... again if I wait a few minutes and press some buttons on the remote the console stops responding and here is the tail end of that ...


    Data received:---301300---
    Got Generic Report
    Thr/Bypass
    Sending: Off to Yamaha.ThrBypass
    Data received:---102200---
    Got Generic Report
    Input Mode
    Sending: Auto to Yamaha.InputMode
    Serial Error (CallLua, Code=289): attempt to call a nil value
    stack traceback:
    What G version are you using?


    Jens,

    The serial plugin terminates a callback if it encounters an error while running the callback. ie. it never calls it again. too avoid this use this code in the receiveresponse block....
    Code:
    		if (math.band (code,serial.RXCHAR) > 0 or math.band (code,serial.INCOMPLETERESPONSETIMEOUT) > 0) and data and data ~= '' then	
                code = serial.zerobits (code,serial.INCOMPLETERESPONSETIMEOUT)
                
                local r,e = pcall (function (...) return self:ProcessResponse (unpack (arg)) end,data,code)         
                if not r then   
                    print ('PowerLincS Error: ',e)
                end
            end

  3. #83
    Join Date
    Nov 2003
    Posts
    17

    Default

    What G version are you using?
    Beta 13

  4. #84
    Join Date
    Nov 2003
    Posts
    17

    Default

    I took a look at the serial plug in but I'm no way familiar enough with lua scripting to put that bit of code in the proper place.
    Also ... jens, that different JYamaha.lua that you posted still hangs the response of the console but not nearly as bad.
    Girder 5.0.2.536
    Windows XP Pro SP3
    xbmc
    USB-UIRT
    Yamaha RX-V1500

  5. #85
    Join Date
    Nov 2003
    Posts
    17

    Default

    Quote Originally Posted by esajesa
    Hi,

    Kevin, the G3 GML will definitely not work with this script, there's a completely new syntax implemented. I'll try to post an example GML (which I thought I had already) tonight for G4.
    esajesa, any chance of you posting an example GML for me?

    kevin
    Girder 5.0.2.536
    Windows XP Pro SP3
    xbmc
    USB-UIRT
    Yamaha RX-V1500

  6. #86
    Join Date
    May 2003
    Location
    Stockholm, Sweden
    Posts
    430

    Default

    Hey,

    here's an example GML file, very small, I only added a few examples. You find all the control messages you can use in the JYamaha.lua file, in the table JYamaha.Commands, so if you check there you can add whatever command you'd like.
    Attached Files Attached Files
    \"Video games don\'t affect kids. I mean, if Pac Man affected us as kids, we\'d all run around in darkened rooms, munching pills and listen to repetitive music.\" - Kristian Wilson, CEO of Nintendo, 1989

  7. #87
    Join Date
    Nov 2003
    Posts
    17

    Default

    Not sure if anything like this is already in the forum but I added all the RX-V1500 commands to esajesa's Jyamaha.GML file. Took me awhile so I thought I'd share it with anyone else who might need it.
    Attached Files Attached Files
    Girder 5.0.2.536
    Windows XP Pro SP3
    xbmc
    USB-UIRT
    Yamaha RX-V1500

  8. #88
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Great, thanks.

    This works with the lua file attached here? If so, we will put them together in the download area. Is there serial pdf file as well?

  9. #89
    Join Date
    May 2003
    Location
    Stockholm, Sweden
    Posts
    430

    Default

    Should work fine with the serial lua here, AND the JYamaha.lua of course.

    Mike, Serial PDF??

    //Jens
    \"Video games don\'t affect kids. I mean, if Pac Man affected us as kids, we\'d all run around in darkened rooms, munching pills and listen to repetitive music.\" - Kristian Wilson, CEO of Nintendo, 1989

  10. #90
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    Hey Jens,

    You got fed up with your new job yet and made any updates!!?
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •