NetLinx Master - DEVICE_INFO Function
Written by Peter Stauber
Updated at January 13th, 2026
Table of Contents
NetLinx Master - DEVICE_INFO Function
You can use the DEVICE_INFO function to retrieve information about a particular device. Example:
DEFINE_EVENT
DATA_EVENT[MYDEVICE]
{
ONLINE:
{
STACK_VAR DEV_INFO_STRUCT sDevInfo
DEVICE_INFO(DATA.DEVICE,sDevInfo)
(* Manufacturer Description = sDevInfo.MANUFACTURER_STRING *)
(* Manufacturer ID = sDevInfo.MANUFACTURER *)
(* Device Description = sDevInfo.DEVICE_ID_STRING *)
(* Device ID = sDevInfo.DEVICE_ID (Same as DEVICE_ID() would return) *)
(* Firmware Version = sDevInfo.VERSION *)
(* Firmware ID = sDevInfo.FIRMWARE_ID *)
(* Serial Number = sDevInfo.SERIAL_NUMBER *)
}
}
You can use this to obtain the version number of the device in question or its DEVICE ID and/or
type. For ICSNet Devices, you can obtain the serial number.