API changes

If your Program objects use certain APIs that have had breaking changes, they will need to have their Program code updated and recompiled using the new Niagara APIs.

Most notable are the “Collection API/Cursor”, “Alarm API”, “History API”, and “Logging API”. For more information on these changes and how to update your code, see the Niagara Developer Guide for each of these API changes.

Also, note getProgram() was deprecated starting in AX-3.5 in order to support compiling Programs into Program Modules. It has been removed for N4.0. While in the past, Program objects using this method would still compile and run, they now require conversion to use getComponent() instead.