Returns the specified function stored measured values.
GxCalGetFunctionStoredMeasuredValue (nHandle, nFunction, dValue1, dValue2, pdValue1, pdValue2, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1034 board. |
nFunction |
SHORT |
Function numbers (see comments for details):GXCAL_FUNCTION_NOT_CONNECTED: No function connected.GXCAL_FUNCTION_4WIRE: 4-wires resistors connected.GXCAL_FUNCTION_2WIRE: 2-wires resistors connected.GXCAL_FUNCTION_POSITIVE_VDC: Positive DC voltage connected.GXCAL_FUNCTION_NEGATIVE_VDC: Negative DC voltage connected.GXCAL_FUNCTION_AC: AC voltage connected. |
dValue1 |
DOUBLE |
Function value 1, see comments |
dValue2 |
DOUBLE |
Function value 2, see comments |
pdValue1 |
PDOUBLE |
Returned value 1, see comments |
pdValue2 |
PDOUBLE |
Returned value 2, see comments |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Returns the specified function stored measured values are as follow:
Connected function: 4-wires resistors (GXCAL_FUNCTION_4WIRE):
dValue1: specifed ressistance values: 1, 10, 100.
dValue2: not used.
pdValue1: returns the stored measured ressistance value that coretaltes to dValue1 value.
pdValue2: not used.
There are three 4-wire resistors on-board of 1W, 10W, 100W. Actual measured values are stored in the on-board EEPORM.
Connected function: 2-wires resistors (GXCAL_FUNCTION_2WIRE):
dValue1: specifed ressistance values: 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000.
dValue2: not used.
pdValue1: returns the stored measured ressistance value that coretaltes to dValue1 value.
pdValue2: not used.
There are eight 2-wire resistors on-board of 1W, 10W, 100W, 1KW, 10KW, 100KW, 1MW, 10MW. Actual measured values are stored in the on-board EEPORM.
Connected function: Positive DC voltage (GXCAL_FUNCTION_POSITIVE_VDC):
pdValue1: supported values are: 9.0V, 0.9V, 0.09V, 0.009V.
pdValue2: not used.
pdValue1: returns the stored measured voltage value that coretaltes to dValue1 value.
pdValue2: not used.
There are four positive DC voltages on-board of 9.0V, 0.9V, 0.09V, 0.009V. Actual measured values are stored in the on-board EEPORM.
Connected function: Negative DC voltage (GXCAL_FUNCTION_NEGATIVE_VDC):
dValue1 specifid values: -9.0V, -0.9V, -0.09V, -0.009V.
dValue2: not used.
pdValue1: returns the stored measured voltage value that coretaltes to dValue1 value.
pdValue2: not used.
There are four negative DC voltages on-board of -9.0V, -0.9V, -0.09V, -0.009V. Actual measured values are stored in the on-board EEPORM.
pdMeasuredValue1: Not Used
Connected function: AC voltage (GXCAL_FUNCTION_AC):
dValue1: AC voltage supported values are: 9.0VAC, 0.9VAC, 0.09VAC, 0.009VAC.
dValue2: AC frequncy supported values are: 100, 1000, 10000, 100000, 50, 60, 400.
pdValue1: returns the stored measured AC voltage value that coretaltes to dValue1 value.
pdValue2: returns the stored measured AC frequancy for the specified voltage (dValue2) value.
The supported AC frequncies are 100Hz, 1KHz, 10KHz, 100KHz, 50Hz, 60Hz and 400Hz. Actual measured values are stored in the on-board EEPORM.
Note: This function allows the user to retrieve all the actual (measured) values for each function.
The following example returns the stored valuefor 9.0V VDCs:
SHORT nHandle, nFunction, nStatus;
DOUBLE dValue1, dValue2;
GxCalGetFunction (nHandle, GXCAL_FUNCTION_POSITIVE_VDC , 9.0, 0.0, &dValue1, &dValue2, &nStatus);