Help with DirecTV HR21P rs-232
kingpikey
Posts: 19
I'm having a little trouble communicating with a DirecTV HR21P receiver via rs-232. This particular receiver has an actual serial port for control, as opposed to using the USB-to-serial adapter method.
I am using the HR21P with an NI-4100. When I attempt to issue commands to the HR21P via telnet and the SEND_STRING command, I see the TX/RX lights light up, but the receiver doesn't respond at all. Does anyone have a example SEND_STRING command for the HR21P (or similar) that I could use to double check my formatting?
I'm a new AMX programmer, so any help is appreciated. Thanks.
I am using the HR21P with an NI-4100. When I attempt to issue commands to the HR21P via telnet and the SEND_STRING command, I see the TX/RX lights light up, but the receiver doesn't respond at all. Does anyone have a example SEND_STRING command for the HR21P (or similar) that I could use to double check my formatting?
I'm a new AMX programmer, so any help is appreciated. Thanks.
0
Comments
Why don't you post the code so that we may look at it
SEND_STRING 5001:7:1,"'$FA','$81'"
SEND_STRING 5001:7:1,"'$FA,$81'"
Data_Event[Sat]
{
Online:
{
Send_Command Data.Device,"'SET BAUD 9600,N,8,1'"
}
}
// Try this... You are using single quotes around the hex bytes, that is not correct. Double quotes on the outside is all you need.
SEND_STRING 5001:7:1,"$FA,$81"
Data_Event[Sat]
{
Online:
{
Send_Command Data.Device,"'SET BAUD 9600,N,8,1'"
}
}
ondrovic mentioned. Plus, SEND_STRING 5001:7:1,"$FA,$81" as AMXJeff suggested, worked great.
Thanks!