Home AMX User Forum AMX Technical Discussion

Device IP

Can someone tell me how can i find out the IP address of a touch panel (500i) on fly mode.

I mean a command from the master to the device to get the IP.

Comments

  • RonenRonen Posts: 55
    I don't know if this is the best way but there is a reserved structure called "DEV_INFO_STRUCT" that can give you lots of info on the panel that you are using. Use it like this:

    Declare the structure under define_variable like any other structure:

    define_variable
    DEV_INFO_STRUCT sDeviceInfo

    Then you need to send this command every time you want the structure "sDeviceInfo" to be updated with the correct info:

    define_event

    button_event[dvTp,1]
    {
    push:
    DEVICE_INFO(dvTp, sDeviceInfo) // get device info
    }

    Now the "sDeviceInfo" structure will contain lots of info about the device like Model, Model no. , serial No. and IP
    Just put this "sDeviceInfo" structure under debug and you will see all avilable info.

    Hope this helps.
    Ronen
  • BinuBinu Posts: 49
    Cool, Tahnks a lot
  • DHawthorneDHawthorne Posts: 4,584
    If you don't want a hard coded solution, you can telnet into the master, and type in "show system;" that will give you the IP addresses, serial numbers, and firmware versions of every connected device.
Sign In or Register to comment.