Click or drag to resize
CVVUQC Method
Quality control on deviation of data from norm in a VV

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
This function tests data in input VV against two separate criteria. Each element of the output VV will have one of the following indicators: ========= ============================================================== Indicator Meaning ========= ============================================================== 0 Input data passed both tests --------- -------------------------------------------------------------- 1 The input data and is greater than the nominal value plus maximum tolerance/deviation (Criterion #1) --------- -------------------------------------------------------------- 2 The input data over a specified distance is greater than the nominal value plus allowed tolerance (Criterion #2) --------- -------------------------------------------------------------- 3 The input data failed on above two tests --------- -------------------------------------------------------------- -1 The input data and is less than the nominal value minus maximum tolerance (Criterion #1) --------- -------------------------------------------------------------- -2 The input data over a specified distance is less than the nominal value minus allowed tolerance (Criterion #2) --------- -------------------------------------------------------------- -3 The input data failed on above two tests ========= ==============================================================
Syntax
public static void QC(
	CGXNETCore gxNetShared,
	CVV vv_i,
	CVV vv_d,
	CVV v_vf,
	double nominal,
	double max_tol,
	double all_tol,
	double dist,
	int qc
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv_i
Type: GeoEngine.Core.GXNetXCVV
Input VV on which to apply quality control Required in <define>GS_DOUBLE</define> or <define>GS_FLOAT</define>
vv_d
Type: GeoEngine.Core.GXNetXCVV
Distance VV (NULL if criterion #2 does not apply). In <define>GS_DOUBLE</define> or <define>GS_FLOAT</define>
v_vf
Type: GeoEngine.Core.GXNetXCVV
Output flag VV with result 0,1,2,3,-1,-2,-3. Required in <define>GS_BYTE</define>
nominal
Type: SystemDouble
Nominal reading (required, must not be <define>GS_R8DM</define>)
max_tol
Type: SystemDouble
Maximum tolerance/deviation applied to a single reading (criterion #1). <define>GS_R8DM</define> if criterion #1 does not apply. Otherwise, must be positive value including 0.0
all_tol
Type: SystemDouble
Allowed tolerance/deviation over a given distance (next parameter) (criterion #2). <define>GS_R8DM</define> if criterion #2 does not apply. Otherwise, must be positive value including 0.0
dist
Type: SystemDouble
The specified distance. <define>GS_R8DM</define> if criterion #2 does not apply. Otherwise, must be positive value excluding 0.0
qc
Type: SystemInt32
<define>QC_CRITERION</define>
See Also