IF(dvDEV.PORT)
30 July 2009, 08:22 by Chad Reynoldson
I’m running into more and more IP controlled devices in the AMX world of control. I have gotten into a habit of checking if a DEV variable has a value with IF(dvDEV) and it has worked all these years for the various devices (232, IR, relay).
With IP devices, this always evaluates to false. It seems to me that IF(dvDEV) is actually evaluating as IF(dvDEV.NUMBER) and with the case of IP devices is 0 (false).
I am now changing to IF(dvDEV.PORT) so that all conditions will play nicely for IP, 232, IR, and relay devices.

Share This Article
Comments
No Current Comments
