Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > System variables > sysInstrumentationOn system variable (SDL script)
  
sysInstrumentationOn system variable (SDL script)
This system variable applies only to SDL scripts for C and C++.
The sysInstrumentationOn system variable (a global numeric) specifies whether to generate Modeler notification calls for generated state machines.
The sysInstrumentationOn system variable is initialized in the Generate.sdl generation template associated with a Code Generator DLL. When the Code Generator DLL is required to generate notification calls, the Generate.sdl generation template sets the sysInstrumentationOn system variable to 1.
In this example, the sysInstrumentationOn system variable is set to 1.
%setvar "sysInstrumentationOn" = 1