AMX NetLinx Master Error-Device_ID Error
Written by Gary Brindley
Updated at December 29th, 2025
Question:
What is this NetLinx Master error? - CIpLibrary::Device_ID - Error 1
Answer:
This error is cause by passing a parameter that is not of type DEV to the DEVICE_ID keyword.
This usually occurs when converting AXCESS code to NetLinx. To fix this error, try the following:
- Look for all references to the DEVICE_ID function
- Make sure the value passed to the function is of type DEV. If this appears inside a DEFINE_CALL or DEFINE_FUNCTION and a parameter is passed to the DEVICE_ID function, make sure that parameter is of type DEV.