GxPsUserCalSetupForMeasurement

Purpose

Sets the currently under calibration channel output voltage according to the specified calibration step.

Syntax

GxPsUserCalSetupForMeasurement (nHandle, nCalStep, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
GX7400 slot number.

nCalStep

SHORT
Calibration step number:
1. GXPS_USER_CAL_STEP1
2. GXPS_USER_CAL_STEP2
3. GXPS_USER_CAL_STEP3
4. GXPS_USER_CAL_STEP4
5. GXPS_USER_CAL_STEP5
6. GXPS_USER_CAL_STEP6
7. GXPS_USER_CAL_STEP7
8. GXPS_USER_CAL_STEP8
9. GXPS_USER_CAL_STEP9
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure, >0 for warning.

Comments

The function sets the currently under calibration channel output voltage for measurement according to the calibration step. The following step will be write the measured voltage back to the driver using the GxPsUserCalWriteMeasuredVal function.

Example

The following example sets the currently under calibration channel output for measurement according to calibration steps 3.

 

SHORT nHandle, nStatus;

GxPsUserCalSetupForMeasurement (nHandle, GXPS_USER_CAL_STEP3, &nStatus);

 

See Also

GxPsUserCalReadMeasuredVal, GxPsUserCalRestoreFactoryCalibration, GxPsUserCalSetup, GxPsUserCalStoreCalibrationData, GxPsUserCalWriteMeasuredVal, GxPsGetErrorString