//Modified by ChoonChin for IccCal
 private int READSMUPIN_int(int chset, out int chdat, out int chRead)
 {
     _apiName = "READSMUPIN"; int a = AMb1340C.READSMUPIN(_hSys, chset, out chdat, out chRead);
     return(a);
 }
 private void AM330_EXTTRIGARM_GETSTATUS(out int armedH, out int triggeredH, out int timeoutH)
 {
     _apiName = "AM330_EXTTRIGARM_GETSTATUS"; RetVal = AMb1340C.AM330_EXTTRIGARM_GETSTATUS(_hSys, out armedH, out triggeredH, out timeoutH);
 }
 private void AM330_EXTTRIGARM_SETTIMEOUTLIMIT(float timeoutS)
 {
     _apiName = "AM330_EXTTRIGARM_SETTIMEOUTLIMIT"; RetVal = AMb1340C.AM330_EXTTRIGARM_SETTIMEOUTLIMIT(_hSys, timeoutS);
 }
 private void AM371_USERBWSEL(int pin, int drvCoarseBw, int drvBoostEn, int clmpCoarseBw, int clmpBoostEn)
 {
     _apiName = "AM371_USERBWSEL"; RetVal = AMb1340C.AM371_USERBWSEL(_hSys, pin, drvCoarseBw, drvBoostEn, clmpCoarseBw, clmpBoostEn);
 }
 private void AM330_EXTTRIGARM_READSMUPIN(int measset, out int chdat, int trigMode, float delayAfterTrigS)
 {
     _apiName = "AM330_EXTTRIGARM_READSMUPIN"; RetVal = AMb1340C.AM330_EXTTRIGARM_READSMUPIN(_hSys, measset, out chdat, trigMode, delayAfterTrigS);
 }
 private void AM371_OFFSMUPIN(int pin)
 {
     _apiName = "AM371_OFFSMUPIN"; RetVal = AMb1340C.AM371_OFFSMUPIN(_hSys, pin);
 }
 private int AM371_EXTTRIGGET_READCURRENTARRAY_WITH_MINMAX(int pin, out int nsample, float[] iarray, out float min, out float max, out float average)
 {
     _apiName = "AM371_EXTTRIGGET_READCURRENTARRAY_WITH_MINMAX";
     return(AMb1340C.AM371_EXTTRIGGET_READCURRENTARRAY_WITH_MINMAX(_hSys, pin, out nsample, iarray, out min, out max, out average));
 }
 private void AMB1340C_SOURCEDELAYMEASURESMUPIN(int pinset, out float pindat, out int measset, out float pinRead, int sequence)
 {
     _apiName = "AMB1340C_SOURCEDELAYMEASURESMUPIN";
     RetVal   = AMb1340C.AMB1340C_SOURCEDELAYMEASURESMUPIN(_hSys, pinset, out pindat, out measset, out pinRead, sequence);
 }
 private void AM330_DRIVEPULSEVOLTAGE(int pin, float _base, float pulse, float pulseS, float holdS,
                                      int drVrange, int cycles, int measCh, int measSel, int measVrange, int trigPercentage,
                                      int armExtTriginH, float timeoutS)
 {
     _apiName = "AM330_DRIVEPULSEVOLTAGE"; RetVal = AMb1340C.AM330_DRIVEPULSEVOLTAGE(_hSys, pin, _base, pulse, pulseS, holdS, drVrange, cycles, measCh, measSel, measVrange, trigPercentage, armExtTriginH, timeoutS);
 }
 private void Retrievereadsmupin(int measset, out int chdat, out int chRead)
 {
     _apiName = "RETRIEVEREADSMUPIN"; RetVal = AMb1340C.RETRIEVEREADSMUPIN(_hSys, measset, out chdat, out chRead);
 }
 private void Sourcedelaymeasuresmupin(int chset, out int chdat, out int chRead, int sequence)
 {
     _apiName = "SOURCEDELAYMEASURESMUPIN";
     RetVal   = AMb1340C.SOURCEDELAYMEASURESMUPIN(_hSys, chset, out chdat, out chRead, sequence);
 }
 private void Armreadsmupin(int measset, out int chdat)
 {
     _apiName = "ARMREADSMUPIN"; RetVal = AMb1340C.ARMREADSMUPIN(_hSys, measset, out chdat);
 }
 private void Onoffsmupin(int chset, out int chdat)
 {
     _apiName = "ONOFFSMUPIN"; RetVal = AMb1340C.ONOFFSMUPIN(_hSys, chset, out chdat);
 }
 private void Readsmupinrate(int chset, out int chdat, out int chRead)
 {
     _apiName = "READSMUPINRATE"; RetVal = AMb1340C.READSMUPINRATE(_hSys, chset, out chdat, out chRead);
 }
 private void AM371_READCURRENTGETIRANGE(int pin, out float ampere, out int irange)
 {
     _apiName = "AM371_READCURRENTGETIRANGE"; RetVal = AMb1340C.AM371_READCURRENTGETIRANGE(_hSys, pin, out ampere, out irange);
 }
 private void AM371_CLAMPVOLTAGE(int pin, float volt)
 {
     _apiName = "AM371_CLAMPVOLTAGE"; RetVal = AMb1340C.AM371_CLAMPVOLTAGE(_hSys, pin, volt);
 }
 private void AM371_ONSMUPIN(int pin, int remoteSenseH)
 {
     _apiName = "AM371_ONSMUPIN"; RetVal = AMb1340C.AM371_ONSMUPIN(_hSys, pin, remoteSenseH);
 }
 private void AM371_CLAMPCURRENT(int pin, float ampere)
 {
     _apiName = "AM371_CLAMPCURRENT"; RetVal = AMb1340C.AM371_CLAMPCURRENT(_hSys, pin, ampere);
 }
 private int AM371_EXTTRIGARM_READCURRENTARRAY(int pin, int posedgeH, float delayS, int nsample, float sampleDelayS)
 {
     _apiName = "AM371_EXTTRIGARM_READCURRENTARRAY";
     return(AMb1340C.AM371_EXTTRIGARM_READCURRENTARRAY(_hSys, pin, posedgeH, delayS, nsample, sampleDelayS));
 }
 private void AM371_CLAMPVOLTAGESETVRANGE(int pin, float volt, int vrange)
 {
     _apiName = "AM371_CLAMPVOLTAGESETVRANGE"; RetVal = AMb1340C.AM371_CLAMPVOLTAGESETVRANGE(_hSys, pin, volt, vrange);
 }
 private void AM371_EXTTRIGARM_RELEASE(int pin)
 {
     _apiName = "AM371_EXTTRIGARM_RELEASE"; RetVal = AMb1340C.AM371_EXTTRIGARM_RELEASE(_hSys, pin);
 }
 private void AM371_CLAMPCURRENTSETIRANGE(int pin, float ampere, int irange)
 {
     _apiName = "AM371_CLAMPCURRENTSETIRANGE"; RetVal = AMb1340C.AM371_CLAMPCURRENTSETIRANGE(_hSys, pin, ampere, irange);
 }
 private void AM371_READCURRENT10XRATE(int pin, out float avalue)
 {
     _apiName = "AM371_READCURRENT10XRATE"; RetVal = AMb1340C.AM371_READCURRENT10XRATE(_hSys, pin, out avalue);
 }
 private void AM371_READVOLTAGE(int pin, out float volt)
 {
     _apiName = "AM371_READVOLTAGE"; RetVal = AMb1340C.AM371_READVOLTAGE(_hSys, pin, out volt);
 }
 private int AM330_EXTTRIGARM_RETRIEVEREADSMUPIN(int measset, out int chdat, out int chRead)
 {
     _apiName = "AM330_EXTTRIGARM_RETRIEVEREADSMUPIN";
     return(AMb1340C.AM330_EXTTRIGARM_RETRIEVEREADSMUPIN(_hSys, measset, out chdat, out chRead));
 }
 private void AM371_READVOLTAGEGETVRANGE(int pin, out float volt, out int vrange)
 {
     _apiName = "AM371_READVOLTAGEGETVRANGE"; RetVal = AMb1340C.AM371_READVOLTAGEGETVRANGE(_hSys, pin, out volt, out vrange);
 }
 public void AM330_EXTTRIGARM_RELEASE()
 {
     _apiName = "AM330_EXTTRIGARM_RELEASE"; RetVal = AMb1340C.AM330_EXTTRIGARM_RELEASE(_hSys);
 }
 private void AM371_READCURRENT(int pin, out float ampere)
 {
     _apiName = "AM371_READCURRENT"; RetVal = AMb1340C.AM371_READCURRENT(_hSys, pin, out ampere);
 }
 void IIPowerSupply.SetNplc(string strSelection, EPSupplyChannel channel, float val)
 {
     _apiName = "SETNPLC"; RetVal = AMb1340C.SETNPLC(_hSys, (int)channel, val);
 }
 private void Biassmupin(int chset, out int chdat)
 {
     _apiName = "BIASSMUPIN"; RetVal = AMb1340C.BIASSMUPIN(_hSys, chset, out chdat);
 }