Trouble communicating with receiver

couj
Member
Member
Posts: 61
Joined: Mon Aug 06, 2007 2:54 am
Contact:

Trouble communicating with receiver

Postby couj » Thu Aug 23, 2007 7:52 am

Hi

I'm trying to control my yamaha 2500 receiver via ML. I set up a button in ML with the following MLServer command

MLServecmd.MLYamaha|Z1Power~On~1

But when I press this button nothing happens.

This is the log entry I get in the mlyamaha plugin ....

CMD: Z1Power~On~1 FROM: myClient1
Entering SendViaCommPort Routine
Entering BinaryStr Routine
Comm Port Sending 7 bytes [02 30 37 45 37 45 03]
Entering SendViaCommPort Routine
Entering BinaryStr Routine
Comm Port Sending 7 bytes [02 30 37 45 37 45 03]
Entering SendViaCommPort Routine
Entering BinaryStr Routine
Comm Port Sending 7 bytes [02 30 37 45 37 45 03]

I'm currently running the trial version of the ml products on a windows xp machine. I have set the first com port in the serial ports tab of the mlyamaha plugin to #1 (all the other say n/a). Any idea what I'm doing wrong. I'm pretty new to this and, although I'm trying hard to learn how all this works, I realise my mistake may be pretty obvious to anyone with experience but I'm struggling to figure out what I'm doing wrong. Also, what, if anything, do I need to insert in the trigger tabs in the mlyamaha plugin.

Thanks

Justin

User avatar
DavidL
Simply Incredible
Simply Incredible
Posts: 11071
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact:

Postby DavidL » Thu Aug 23, 2007 8:26 am

Are you using the correct serial cable for your Yamaha? Null vs. straight thru?

couj
Member
Member
Posts: 61
Joined: Mon Aug 06, 2007 2:54 am
Contact:

Postby couj » Thu Aug 23, 2007 8:49 am

I'm using a 2m serial cable eith a DB9 female pin at one end and a DB9 female pin at the other end. Just in case you are wondering, I've also turned off my anti virus software just in case that is interfering with the connection. The serial cable is plugged into my only serial port on my laptop.

User avatar
DavidL
Simply Incredible
Simply Incredible
Posts: 11071
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact:

Postby DavidL » Thu Aug 23, 2007 8:57 am

there is a wiring difference between a null modem cable and a straight through cable. They physically appear the same. But the signals go to different pins on each end and is the most popular reason why serial devices don't work. Check which is correct for your receiver, and then double check the cable you are using.

couj
Member
Member
Posts: 61
Joined: Mon Aug 06, 2007 2:54 am
Contact:

Postby couj » Fri Aug 24, 2007 7:25 am

Thanks for the advice. Went and picked up a new cable and the problem seems to be solved.


Return to “Yamaha”

Who is online

Users browsing this forum: No registered users and 1 guest