Agilent Technologies B1500A User's Guide Page 194

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 193
4-38 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Programming Examples for C++ Users
Breakdown Voltage Measurement
Measurement
Result Example
Vbd = 56.245000 V
ret = agb1500_measureBdv(vi, agb1500_SHORT_INTERVAL, &meas,
&status); /* 25 */
check_err (vi, ret);
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL); /* 28 */
check_err (vi, ret);
if (status = 8){ /* 31 */
printf("Vbd = %9.6f V \n", meas);
}
else {
printf("Error occurred during measurement.\n");
printf("Status code = %d \n", status);
} /* 37 */
ret = agb1500_setSwitch(vi, agb1500_CH_ALL, 0); /* 39 */
check_err (vi, ret);
}
Line Description
25 Performs quasi pulsed spot measurement. Breakdown voltage
will be defined as the voltage that occurs the current compliance
status at the device terminal where the measurement channel is
connected.
28 Sets the specified port to the zero output state.
31 to 37 Displays the measurement result data if the status is normal (8),
or displays error message if the status is abnormal.
39 Disables all ports.
26, 29,
and 40
Calls the check_err subprogram (shown in Table 4-1) to check if
an error status is returned for the previous line.
41 End of the perform_meas subprogram.
Page view 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 207 208

Comments to this Manuals

No comments