Can someone please help with some advice on this module issue/how the display wants the commands?
Here's some examples of how the module is outputting the Digital TV commands which work great:
Ch 47.1 - \x08\x22\x04\x80\xBC\x01\x95
Ch 47.2 - \x08\x22\x04\x80\xBC\x02\x94
Ch 58.24 - \x08\x22\x04\x80\xE8\x18\x52
Here's some examples of how the module is outputting Analog TV commands were the channel is not multiplied by 4 (notice there is no spot for the sub channel):
Ch 124 - \x08\x22\x04\x00\x00\x7C\x56
Ch 68 - \x08\x22\x04\x00\x00\x44\x8E
But anything that is Digital TV and has a channel of 64 or higher doesn't work.
---In Crestron@..., <jeremyttweb@...> wrote :
This is an old post but I was just having this same issue. It came down to how the command is "built" in the SIMPL+ module. It takes the channel digit, multiplies it by 4, and then converts it into HEX. Well because HEX caps out at 255, any channels about 64 (technically 63.75) will start to have strange behavior. Here is the SIMPL+ code for reference:
if(DTV)
makestring(sChannelCommand, "\x08\x22\x04\x80%s%s", chr(iMainChannel * 4), chr(iSubChannel));
I'm trying to figure out why the module needs to multiply it by 4. It only does it for DTV and not ATV.
1. Has anybody tried getting rid of the "*4" and would the TV accept the command?
2. If the "*4" has to stay, how do you format longer channels in the string?
toggle quoted message
Show quoted text
For example this is the string to go to channel 47.1:?\x08\x22\x04\x80\xBC\x01\x95
Does there need to be a "high channel"?