Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Problem receiving data from Tuner
This thread has 8 replies. Displaying all posts.
Post 1 made on Tuesday February 12, 2008 at 07:04
rendok
Long Time Member
Joined:
Posts:
February 2008
16
Hello all,

I have a problem with receiving data from Tuner. I tried use command match(), and receive().When I use

extenderSerial.bitrate = baudrate;
extenderSerial.databits = 8;
extenderSerial.parity = 0; // None
extenderSerial.stopbits = 1;

s = extenderSerial.match(command,"\r\n",1000);

return s;

OR

extenderSerial.bitrate = baudrate;
extenderSerial.databits = 8;
extenderSerial.parity = 0; // None
extenderSerial.stopbits = 1;

s = extenderSerial.receive(command,10,1000);
return s;

type station in Tuner is changed but I can't receive data from Tuner which describe frequenci or RDS. In variable s is nothing(I try command System.print("Variable: " s); after
s = extenderSerial.receive(command,10,1000); ). I don't know why. When I set Timeout 10000 it's do not wait for data because a used System.print("extenderSerial.receive") and System.print("after command extenderSerial.receive or match") and this two sentences wrote in equal time.

A don't know what can I do?
Thaks for help

Last edited by rendok on February 12, 2008 14:05.
detto
Post 2 made on Tuesday February 12, 2008 at 12:53
buzz
Super Member
Joined:
Posts:
May 2003
4,387
What is the model number of your tuner?

Note that some devices use pins 7&8 on the RS-232. The RFX9600 does not support these pins, but there are usually work arounds.

Some RS-232 devices need more setup. You may need to send a special command to the tuner before it will start sending "reports" after something has changed. This change may have been ordered over the RS-232 or from the unit's front panel.
OP | Post 3 made on Tuesday February 12, 2008 at 14:30
rendok
Long Time Member
Joined:
Posts:
February 2008
16
Tuner don't use pins 7&8. Do RFX9600 has any switch where can a chose the mode of comunication through the RS-232 because Tuner receive commands but nothing transmit back.
detto
Post 4 made on Tuesday February 12, 2008 at 20:22
cma
Super Member
Joined:
Posts:
August 2003
3,044
What model is the tuner? There are many 232 devices that do not have 2 way comms.. without the model number of your tuner it is difficult to offer any advice.
Post 5 made on Tuesday February 12, 2008 at 20:34
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,006
If it's a Denon receiver, don't use \r\n in the match, only use \r. We are all flying blind here as we don't know what protocol the device to which you are talking speaks. COME ON, help us out.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 6 made on Tuesday February 12, 2008 at 20:39
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,006
On February 12, 2008 at 14:30, rendok said...
Tuner don't use pins 7&8. Do RFX9600 has any switch where
can a chose the mode of comunication through the RS-232
because Tuner receive commands but nothing transmit back.

There are no settings. If your tuner requires CTS or other pins to be brought high/low, you may need to make a custom cable. RFX 9600, to my knowledge supports only pins 2,3,5. There is no HARDWARE flow control available.
Lyndel McGee
Philips Pronto Addict/Beta Tester
OP | Post 7 made on Wednesday February 13, 2008 at 03:37
rendok
Long Time Member
Joined:
Posts:
February 2008
16
Tuner is special but communication is good to Tuner because I change station.But when I write

var respone = extenderSerial.receive(command,10,1000);
System.print(respone);

I have blank line but station is change. I don't know where I make a mistake.
detto
OP | Post 8 made on Wednesday February 13, 2008 at 07:16
rendok
Long Time Member
Joined:
Posts:
February 2008
16
I upgrade firmware in RFX9600 and then communication is OK!:)

Thank you for all advise.
detto
Post 9 made on Wednesday February 13, 2008 at 07:20
sgtoma
Long Time Member
Joined:
Posts:
December 2007
73
Did you try connecting your pc to the tuner and using terminal software to prove the command/response? This would be a good starting point. (odd thing- cable fault?)

Denon should reply within 200ms so you could also cut the timeout delay to 300ms,
and the reply should be same form as the command, but we need the RS232 protocol info for accurate advice.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse