Passa al contenuto principale

GetCalibrationOOTVal

Structure

GetCalibrationOOTVal(sType,sEventTypes,rEventsBack)

Parameters

Parameter | Type | Description
| sType | String | the type of out-of-tolerance ratio desired. Possible values are:

MIN = Smallest out-of-tolerance ratio for the calibration measurements in this event

MAX = Largest out-of-tolerance ratio for the calibration measurements in this event

AVG = Average out-of-tolerance ratio for the calibration measurements in this event

The out-of-tolerance ratio is deternined by calculating:

As Found - Standard / Tolerance - Standard

If the As Found value is greater than the Standard, the 'Tolerance +' value is used, if the As Found value is less than the Standard, the 'Tolerance -' value is used.sEventTypes | String | this text is used in the sql to determine the event type(s) included in the search. For example, to include only CALIBRATION events, use:

(EVENT_TYPE = 'CALIBRATION')rEventsBack | Integer | the number of events that you want to travel into the past to find the example event. If rEventsBack = 0, the current event is used. If the rEventsBack = 1, then the most recent event (that matches sEventTypes) is used. If rEventsBack = 2, the second most recent event is used, etc. |

Return Value

Number

Description

This function returns an out-of-tolerance calculation for a recent calibration event. The value can be either a MAX, MIN, or AVG ratio of out-of-tolerance values for all measurements in this event.

Example

No example provided

Application Compatibility

IndySoft Calibration Management, IndySoft Commercial Lab Management, IndySoft Tool Management

Also See

No related topics |