/*** Routine to perform the current performance test ***/
void current_check ()
{
float i_out [9] = {0.02F, 0.015F, 0.01F,0.005F, 0, -0.005F,-0.01F, -0.015F, -0.02F};
/* Currents to output */
int i,j,opc_check; */
char function [6] = {“CURR:DC\0"},range [6] = {”0.100\0"};
dmm_setup (function,range);
printf (“\n\n”);
printf (“DC CURRENT OUTPUT PERFORMANCE TEST\n\n\n\n”);
for (i = 0;i != num_chan;i++)
{
/** connection instructions **/
printf (“Channel %d\n”,i+1);
printf (“1.\tMake a two-wire connection from channel %d \n”,i+1);
printf (“\tto the DMM current input terminals.\n”);
printf (“2.\tThe DMM is set to make DC current measurements on \n”);
printf (“\tthe 100 mA range.\n”);
printf (“3.\tFor each channel in the HP E1418A,\n”);
printf (“\t\tOutput 20 mA, 15 mA, 10 mA, 5 mA, 0 mA, -5 mA, -10 mA, -15 mA, -20 mA.\n”);
printf (“\t\tMeasure each current output.\n”);
printf (“\n\n”);
pause();
/** current output loop **/
for (j=0;j<9 ;j++)
{
err=viPrintf(dac, “APPLY%d:CURRENT %f;*OPC?\n”,i+1,i_out[j]); /* voltage output */
if(err VI_SUCCESS) err_handler(dac, err);
err=viScanf(dac, “%d”, &opc_check); /* enter OPC integer */
if(err VI_SUCCESS) err_handler(dac, err);
current_results [i][j] = dmm_measure();
}
printf (“Current Output Test on channel %d complete\n\n”,i+1);
err=viPrintf(dac, “OUTPUT%d OFF;*OPC?\n”,i+1); /* Turn output off */
if(err VI_SUCCESS) err_handler(dac, err);
err=viScanf(dac, “%d”, &opc_check); /* enter OPC integer */
if(err VI_SUCCESS) err_handler(dac, err);
sys_err (dac); /* SCPI error check */
}
printf (“Current Output Verification Test completed”);
err=viPrintf(dac, “*RST\n”);
/* reset the dac */
if(err VI_SUCCESS) err_handler(dac, err);
}
/*** End of current_check ***/
42 Verification Tests
Chapter 4
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 ...