Redundant Calibration Status

This block will allow the status of the calibration store defined by a Redundant Calibration Definition block to be recovered.

Block ID

Redundant Calibration Status

Library

MotoHawk_lib

Description

This block will allow the status of the calibration store defined by a Redundant Calibration Definition block to be recovered.

Multiple instances of this block may exist in a model.

The motohawk_redundantcal_enum M-script enumerates the possible responses below:

Unchecked (value=0)

If a resource is not supported then the status will indicate that the status of the calibration has not been checked.

Pending (value=1)

This is an intermediate state that indicates that the status of the calibration is still being determined. The state will transition from this status once the status of the calibration is known. It is not expected that an application will see this status since the status of the calibration must be determined during start-up, before most of the application is able to execute.

Freshly Programmed (value=2)

A module whose active calibration is the calibration that was written when the module was programmed will report this status.

Good (value=3)

The latest calibration is in use. The calibration has been altered from what was programmed.

Last Save Failed (value=4)

The last attempt at a calibration save failed. The redundant copy is in use and some loss of information has occurred.

This status could exist across multiple key events because calibration will only save when it has changed and a save is only attempted as part of module shutdown. Therefore this status will continue to be reported if there was corruption on the last save, but the calibration has not since been altered, even if there has been subsequent key switch events. Consequently this status can't be used by itself to drive an occurrence failure count. It will need to be used in combination with a non-volatile that tracks the last observed status in order to detect new failures, which could then be counted.

No valid calibrations available (value=5)

Neither calibration could be verified as valid. The oldest calibration copy is in use.

Block Parameters

Parameter Field Values Comments/Description
Reference Name Alpha-numeric text, single quote enclosed The name of the Redundant Calibration Definition block whose status is to be recovered.