Since updating from 510 to 512 I'm having serial problems.
If two serial commands are sent too quickly to my Meridian receiver the response is coming back corrupted, and the 2nd doesn't get actioned, at other times it's freezing comms and I have to rest the LUA (F11) to get it working again.
This is the log if I run the two commands in the macro (Select CDR input, then set volume to 57) manually using F5
If I run the full macro I get this instead, notice the corrupt response in bold, this is all I get.Code:Received Meridian Response: Meridian Response Length = 0 Received Meridian Response: CDR 45 Meridian Response Length = 12 Returned prefix: CDR Meridian Volume Received = 45 Meridian500: Publishing event Processor 45 Got Meridian500 Event: nil Volume 45 Device id: Processor Meridian500: Publishing event Processor Off Got Meridian500 Event: nil Mute Off Device id: Processor Meridian Provider Received Volume Value 57 Received Meridian Response: VN57 Meridian Response Length = 4 Received Meridian Response: Music 57 Meridian Response Length = 12 Returned prefix: Music Meridian Volume Received = 57 Meridian500: Publishing event Processor 57 Got Meridian500 Event: nil Volume 57 Device id: Processor Meridian500: Publishing event Processor Off Got Meridian500 Event: nil Mute Off Device id: Processor
Often I get this response (below) and then I have to reset (F11) to get control back. In this one I ran the macro once then two more times and as you can see comms stopped with the serial device after the first run.Code:Meridian Provider Received Volume Value 57 Received Meridian Response: Meridian Response Length = 0 Received Meridian Response: Longe ¬@j8 Meridian Response Length = 12
I've tried S, H and N for flow control. S & N give the same H doesn't work at all.Code:Meridian Provider Received Volume Value 57 Received Meridian Response: Meridian Response Length = 0 Received Meridian Response: Longe €U8 Meridian Response Length = 12 Meridian Provider Received Volume Value 57 Received Meridian Response: Meridian Response Length = 0 Meridian Provider Received Volume Value 57
I can fix the problem with a 2 second wait in the macro between commands, but I never had the comms freeze with 510 and really didn't want waits in there as it slows things down.
Provider and serial files attached.
Any suggestions?
Cheers
Richard


Reply With Quote