Hidden Hidden Hidden Hidden
 
 

CALIBRATION AND WINDOW CONTROL ROUTINES
PROGRAMMING > PROGRAMMING TECHNIQUES >

Open instruNet World Window from within your program
The following line of code will open the instruNet World window from your program:
"Open_instruNet_Window _Easy( iNetCM_OpenWindow_Network );". This can be useful at debugging since it enables one to view the current state of the instruNet settings.

Turning off Calibration
The following C code turns off the calibration options:

iNetChannelAddr calOptions;
iNetError e = iNetErr_None; Boolean chanExists;

// Specify Driver Options area
chanExists = LoadChannelAddress( &calOptions, netNum_DRIVER /* 0 */, deviceNum_DRIVER /* 0 */,
moduleNum_1stModule /* 1 */, driver_ChanNum_RecordOptions /* 3 */);

// Set "Calibration on Start"(full hardware calibration when Digitze begins) to off
e = SetField_int32(&calOptions, sgt_CalOptions /* -21 */, fldNum_CalOptions_CalOnStart,
ion_gOnOffPopup_Off);

// Set "Calibration on Warm" (full hardware calibration 10min and 25min after reset) to off
e = SetField_int32(&calOptions, sgt_CalOptions /* -21 */, fldNum_CalOptions_CalOnWarm, ion_gOnOffPopup_Off);

// Set "Auto Calibration Rate" (full hardware calibration every X minutes) to No Auto Cal
e = SetField_int32(&calOptions, sgt_CalOptions /* -21 */, fldNum_CalOptions_AutoCalRate, 0L);

// Set "CJC Calibration Rate" (CJC calibration for thermocouples every X minutes) to No Auto Cjc Cal
e = SetField_int32(&calOptions, sgt_CalOptions /* -21 */, fldNum_CalOptions_CjcCalRate, 0L);