Home AMX User Forum AMX Technical Discussion

XDD File Issue

Hello everyone,

I encountered an issue while loading the XDD file. I downloaded the corresponding file for the model from AMX's developer support. Following the example provided at the end of the document, I wrote a small program. I hope to turn on the TV by pressing a button. However, I am not sure if the command I wrote is correct. I have set all devices to IP addresses in the 192.168.0.X range, but the TV still cannot turn on properly.

Could anyone advise me on what might be wrong?
Thank you all, and have a great day!

Comments

  • With the xdd and module, you only communicate with the duet device vdvMyDevice, not with the physical serial port.

    To power toggle, you simply pulse channel 9 on the duet device
    PULSE[vdvMyDevice,9]
    PULSE[vdvMyDevice,27] // power On
    PULSE[vdvMyDevice,28] // power Off

    Additionally there are commands in the module, for more complex things, like input selection.
    send_command vdvDevice," 'INPUT-HDMI1' "

  • tp821215tp821215 Posts: 9

    Thank you for your assistance. I tried it today and found that communication works not only with a wired connection, but as long as the TV's IP is set to the default 192.168.0.1, it can be turned on remotely. HDMI switching also works perfectly. I really appreciate your help.

    The slightly troublesome part is that the .xdd file requires the IP to be 192.168.0.1, which can be a bit inconvenient.

    Thanks again for your help—have a nice day!

  • this can also be changed, it is just the sample that uses this IP address.

    data_event[vdvDevice]
    {
      online:
      {
        send_command vdvDevice," 'PROPERTY-IP_Address,10.68.5.111' " // IP Address to be used
        send_command vdvDevice," 'REINIT' " // restart driver, to take the new IP address
      }
    }
    
  • tp821215tp821215 Posts: 9

    Thank you for your assistance. The TV has been successfully launched on a different network segment. The attached file contains the successful code.
    Thank you for your help, and I wish you a wonderful day!

Sign In or Register to comment.