Anyone know if you can tell if its a NX or NI in the program as I want to program to use the serial fault detect if its NX or use my old way for an NI in a serial module?
The built in DEVICE_ID(<dev>) function sounds like what you are seeking. In PI, you can find the device ID for your product and in code, use the function to evaluate the device.
Thanks guys that worked well - String to NI pops up with 'NI Master' and guessing that a NX will pop up 'NX Master'. Will have to find one to test on and then serial test on.
Comments
http://www.amx.com/assets/AMX-PI2/amx-pi2.htm
NX Master DEVICE ID: 0x018D or 0x1B7
Short version within serial module:
Then just using bIs_NI is code for NI or NX control