Patent ID: 8352791

Claim:
A control module having a microprocessor, comprising: a programming environment having a test data structure, a configuration data structure, and a monitor data structure each containing data; and at least one test data instance that is associated with the test data structure and at least one configuration data instance that is associated with the configuration data structure, wherein the at least one configuration data instance is a diagnostic test that monitors a parameter of the microprocessor, and the monitor data structure creates the at least one test data instance such that each of the at least one test data instance corresponds to one of the at least one configuration data instances, and wherein the programming environment includes: a first control logic for associating the test data structure, the configuration data structure and the monitor data structure as part of a core infrastructure portion of the programming environment, wherein the core infrastructure portion of the programming environment is static; a second control logic for associating the at least one configuration data instance in a deployment-specific portion of the program, wherein the deployment-specific portion of the programming environment is dynamic, a third control logic for executing the at least one configuration data instance that is the diagnostic test to monitor one of the parameters of the microprocessor; a fourth control logic for monitoring the microprocessor for a data signal indicating that an error code has been generated, wherein the error code is generated by executing the at least one configuration data instance; and a fifth control logic for storing the results of the diagnostic test in the at least one test data instance.