Help with DirecTV HR21P rs-232
kingpikey
Junior Member
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.
Comments
-
Have you verified that the cable is the correct pinout for the device?
Why don't you post the code so that we may look at it -
I've tried both of these.
SEND_STRING 5001:7:1,"'$FA','$81'"
SEND_STRING 5001:7:1,"'$FA,$81'" -
have you set the baud rate for the device?
Data_Event[Sat]
{
Online:
{
Send_Command Data.Device,"'SET BAUD 9600,N,8,1'"
}
} -
I've tried both of these.
SEND_STRING 5001:7:1,"'$FA','$81'"
SEND_STRING 5001:7:1,"'$FA,$81'"
// 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" -
Got it guys, had neglected to include the:
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!
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums