Home AMX User Forum NetLinx Studio

Trouble with CH Command

Greetings,

SEND_COMMAND dvDEVICE,"'CH ',ITOA(nINTEGER)"

The above always sends a TV to channel 32.

I am using IR ports from Axcent 3s.

The XCH command works fine on the same devices.

Thank you.

Comments

  • DHawthorneDHawthorne Posts: 4,584
    CH does not use ASCII. Get rid of the ITOA(nINTEGER) and just put nINTEGER in there. XCH does use ASCII, so it's appropriate there. And yes, it would be nice if they were consistent in this :).
Sign In or Register to comment.