beautypg.com

AMETEK SLM Series Rev B User Manual

Page 74

background image

Appendix A

SLM-Series AC/DC Electronic Load

A-2

M540072-01 Rev B

ibrd(load,spec,20);
if (spec[3] == '9')
printf("\n SLM series specification error !");
/* Set the channel 1, preset off, current sink 1.0 amps and load on commands to the load. */
ibwrt( load,"chan 1;pres off;curr:low 0.0;curr high 1.0;load on ",51);
ibwrt( load,"meas:curr ?",11);
/* Get the load actially sink current from the load */
ibrd( load,rdbuf,20);
/* go to local. */
ibloc(load);
}