Why Are Some Functions in DIAdem Script Marked as Obsolete?

Updated Aug 1, 2019

Reported In


  • DIAdem

Issue Details

I recently switched from a previous version of DIAdem to the version of 2017 and when I use DIAdem some functions or variables, which I use often, are marked obsolete in DIAdem Help, but they are still working and I can use them. If I'm using these functions or variables in DIAdem 2018 they don't work anymore at all.
  • ​Why they are marked as obsolete and what does it mean for me?
  • Why they are not working anymore in DIAdem 2018?


Starting in DIAdem 2017 some functions and variables are marked as obsolete. As they are still working and you can use them, National Instruments recommends not to use them for new designs and rather use the object-oriented interface instead. 

From the DIAdem version 2018 some are not supported and won't work at all and you must use the object-oriented script interface in DIAdem REPORT. 

Most of the functions or variables marked as obsolete contain replacement function or property with the same functionality. For example, ChD variable is replaced by Values property, CMax variable is replaced by Maximum property.

In case the obsolete function or variable does not have any replacement in DIAdem Help, this functionality will be no longer provided in DIAdem and it is suggested to use different functions or variables.

Additional Information

Example script named Searching for Obsolete Commands and Variables can help you to find all functions and variables in your script, which are obsolete. This example is part of shipping examples since DIAdem 2017.

Examples of most used variables and commands and, whit what to replace them:
Old Variable/CommandNew Example


Not Helpful