Get IP Address of Touchpanel from code
Frequently Asked Questions
Brand:
- AMX
Models:
- NetLinx
- NI-Series Controllers
- NX-Series Controllers
Question:
How do I get the IP Address of a touch panel from code?
Answer:
Please see the downloadable file 994-DL1-Get IP Address of Touchpanel from code.axs. This example demonstrates the use of the NetLinx structure IP_ADDRESS_STRUCT to define a variable and then store information received from the GET_IP_ADDRESS NetLinx function. You can then use the .IPADDRESS operator on the variable you defined of type IP_ADDRESS_STRUCT to obtain the IP Address of the Touchpanel. In Netlinx Studio see Help->Netlinx Keywords Help->Index->GET_IP_ADDRESS for an explanation of the structure elements.