Performance
Verification Tests
Example
This example demonstrates a full performance verification test of the
module. The code shown in this example can be obtained from the file
prftest.c
on the examples disk provided with this manual.
/** FUNCTION PROTOTYPES **/
void main (void);
void err_handler(ViSession vi, ViStatus x); /* VTL error routine */
void sys_err(ViSession resource);
/* Checks for SCPI programming errors */
void pause();
/* Waits for a keystroke to continue program execution */
void dcv_check ();
/* Voltage output verification test */
void compliance_check ();
/* Compliance current verification test */
void maxcurrent_check ();
/* Short circuit output current verification test */
void current_check ();
/* Current output verification test */
/* DMM routines
*/
void dmm_setup (char function [6], char range [6]); /* Set function and range for DMM */
float dmm_measure ();
/* get the dmm measurement */
/** GLOBAL **/
ViStatus err;
ViSession defaultRM, cmd, dac, dmm;
int num_chan;
/* 8 or 16 */
float dcv_results [16][9]={0};
/* Voltage output verification test results */
float compliance_results [16] = {0};
/* Compliance current verification test results */
float maxcurrent_results [16] = {0}; /* Short circuit output current verification test results */
float current_results [16][9] = {0};
/* Current output verification test results */
void main (void)
{
dcv_check ();
compliance_check ();
maxcurrent_check ();
current_check ();
}
38 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 ...