Wildcards in Netlinx vs. Axcess
Frequently Asked Questions
Brand:
- AMX
Models:
- Netlinx
- Axcess
Overview:
The information in this article applies to: Axcess and NetLinx programming language.
Symptoms:
In Axcess, it was possible to perform a string comparison using the '?' wildcard. This does not work in NetLinx.
Axcess example:
IF (TIME = '12:00:??') // Do something at noon - evaluation is true for 60 secondsThis same code in NetLinx will never evaluate to true.
Cause:
NetLinx requires that the COMPARE_STRING function be used to perform this operation.
Resolution
NetLinx example:
IF (COMPARE_STRING(TIME,'12:00:??')) // Do something at noon - evaluation is true for 60 seconds