Home AMX User Forum NetLinx Studio

Pull System ID from DEV array

I have a dev array with several devices in it.

I would like to be able to pull the system number from those items in the array (something similar to DEVICE_ID, but for system). Note this is not for the system running the program, but the systems in which these devices reside.

In short, I want to pull the #S from D:P:S

Is this possible?

Comments

  • Joe HebertJoe Hebert Posts: 2,159
    jabramson wrote: »
    I have a dev array with several devices in it.

    I would like to be able to pull the system number from those items in the array (something similar to DEVICE_ID, but for system). Note this is not for the system running the program, but the systems in which these devices reside.

    In short, I want to pull the #S from D:P:S

    Is this possible?

    Yes:
    dvSomeDevice.NUMBER // D
    dvSomeDevice.PORT // P
    dvSomeDevice.SYSTEM // S
  • jabramsonjabramson Posts: 106
    I knew it was something simple, thanks.
Sign In or Register to comment.