void IISwitch.Initialize()
 {
     try
     {
         _apiName = "INITIALIZE"; RetVal = AMb1340C.INITIALIZE(_hSys);
         AMB1340C_SETPORTDIRECTION(65535);
     }
     catch (Exception ex)
     {
         throw new Exception("AeWofer: Initialize -> " + ex.Message);
     }
 }
 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 AMB1340C_DELETEINSTANCE()
 {
     _apiName = "AMB1340C_DELETEINSTANCE"; RetVal = AMb1340C.AMB1340C_DELETEINSTANCE(_hSys);
 }
 private void Closesession()
 {
     _apiName = "CLOSESESSION"; RetVal = AMb1340C.CLOSESESSION(_session);
 }
 private void Resetboards()
 {
     _apiName = "RESETBOARDS"; RetVal = AMb1340C.RESETBOARDS();
 }
 private void AM330_EXTTRIGARM_RELEASE()
 {
     _apiName = "AM330_EXTTRIGARM_RELEASE"; RetVal = AMb1340C.AM330_EXTTRIGARM_RELEASE(_hSys);
 }
 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_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 void AM371_CLAMPCURRENTSETIRANGE(int pin, float ampere, int irange)
 {
     _apiName = "AM371_CLAMPCURRENTSETIRANGE"; RetVal = AMb1340C.AM371_CLAMPCURRENTSETIRANGE(_hSys, pin, ampere, irange);
 }
 private void AM371_CLAMPVOLTAGESETVRANGE(int pin, float volt, int vrange)
 {
     _apiName = "AM371_CLAMPVOLTAGESETVRANGE"; RetVal = AMb1340C.AM371_CLAMPVOLTAGESETVRANGE(_hSys, pin, volt, vrange);
 }
 private void AM371_CLAMPCURRENT(int pin, float ampere)
 {
     _apiName = "AM371_CLAMPCURRENT"; RetVal = AMb1340C.AM371_CLAMPCURRENT(_hSys, pin, ampere);
 }
 private void AM371_CLAMPVOLTAGE(int pin, float volt)
 {
     _apiName = "AM371_CLAMPVOLTAGE"; RetVal = AMb1340C.AM371_CLAMPVOLTAGE(_hSys, pin, volt);
 }
 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 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 AM371_EXTTRIGARM_RELEASE(int pin)
 {
     _apiName = "AM371_EXTTRIGARM_RELEASE"; RetVal = AMb1340C.AM371_EXTTRIGARM_RELEASE(_hSys, pin);
 }
 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 AM371_READVOLTAGEGETVRANGE(int pin, out float volt, out int vrange)
 {
     _apiName = "AM371_READVOLTAGEGETVRANGE"; RetVal = AMb1340C.AM371_READVOLTAGEGETVRANGE(_hSys, pin, out volt, out vrange);
 }
 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_READCURRENT(int pin, out float ampere)
 {
     _apiName = "AM371_READCURRENT"; RetVal = AMb1340C.AM371_READCURRENT(_hSys, pin, out ampere);
 }
 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 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 AM330_EXTTRIGARM_SETTIMEOUTLIMIT(float timeoutS)
 {
     _apiName = "AM330_EXTTRIGARM_SETTIMEOUTLIMIT"; RetVal = AMb1340C.AM330_EXTTRIGARM_SETTIMEOUTLIMIT(_hSys, timeoutS);
 }
 private void AM371_ONSMUPIN(int pin, int remoteSenseH)
 {
     _apiName = "AM371_ONSMUPIN"; RetVal = AMb1340C.AM371_ONSMUPIN(_hSys, pin, remoteSenseH);
 }
 private void Createsession(string hostname)
 {
     _apiName = "CREATESESSION"; RetVal = AMb1340C.CREATESESSION(hostname, out _session);
 }
 private void AM371_OFFSMUPIN(int pin)
 {
     _apiName = "AM371_OFFSMUPIN"; RetVal = AMb1340C.AM371_OFFSMUPIN(_hSys, pin);
 }
 private void AMB1340C_CREATEINSTANCE(int sysId, int offlinemode)
 {
     _apiName = "AMB1340C_CREATEINSTANCE"; RetVal = AMb1340C.AMB1340C_CREATEINSTANCE(_session, sysId, offlinemode, out _hSys);
 }
 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 AMB1340C_DRIVEPORT(int value)
 {
     _apiName = "AMB1340C_DRIVEPORT"; RetVal = AMb1340C.DRIVEPORT(_hSys, value);
 }
 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));
 }