if(err < VI_SUCCESS) err_handler(dac, err);
err=viScanf(dac, “%d”, &result); /* Enter integer returned */
/* returns a 0 when calibration complete */
if(err < VI_SUCCESS) err_handler(dac, err);
if (result == 5) /* Calibration for this channel aborted */
{
printf (“Calibration for channel %d aborted\n”,i);
result = 0;
}
}
}
/*** CURRENT OUTPUT ADJUSTMENT ***/
/*** set the calibration resistor value ***/
result = 0;
while (result != 1)
{
err=viPrintf(dac, “CAL:CONF:RES?\n”); /* Configure for resistance calibration */
if(err < VI_SUCCESS) err_handler(dac, err);
err=viScanf(dac, “%d”, &result); /* Enter integer returned */
/* returns a 1 when ready to calibrate */
if(err < VI_SUCCESS) err_handler(dac, err);
}
meas_res = get_resistance();
err=viPrintf(dac, “CAL:VAL:RES %f\n”,meas_res); /* Send the resistance value */
if(err < VI_SUCCESS) err_handler(dac, err);
Chapter 5
Adjustments 71
Summary of Contents for E1418A
Page 4: ...Notes 4 HP E1418A 8 16 Channel D A Converter Service Manual Contents ...
Page 8: ...Notes 8 HP E1418A D A Converter Module Service Manual ...
Page 58: ...Notes 58 Verification Tests Chapter 4 ...
Page 66: ...Figure 5 5 Internal Resistor Adjustment Connections 66 Adjustments Chapter 5 ...
Page 81: ...Figure 6 1 8 Channel Disassembly Chapter 6 Service 81 ...
Page 82: ...Figure 6 2 16 Channel Disassembly 82 Service Chapter 6 ...
Page 84: ...Notes 84 Service Chapter 6 ...
Page 90: ...Figure 7 1 HP E1418A Replaceable Parts 90 Replaceable Parts Chapter 7 ...
Page 91: ...Figure 7 2 Common Terminal Module Replaceable Parts Chapter 7 Replaceable Parts 91 ...