Пример #1
0
        private void ExecuteProgramStepInternal(ProgramStep programStep)
        {
            _iteInteropService.WaitHandle.WaitOne();
            int errNo = _iteInteropService.IteDC_WriteCmd(DeviceInfo.Address, $"VOLT {programStep.Volta}");

            errNo = _iteInteropService.IteDC_WriteCmd(DeviceInfo.Address, $"CURR {programStep.Ampere}");
            _iteInteropService.WaitHandle.Set();
        }
Пример #2
0
 public bool TryLink(Device device)
 {
     _iteInteropService.WaitHandle.WaitOne();
     _iteInteropService.IteDC_WriteCmd(device.Address, "SYST:REM");
     _iteInteropService.ItePow_SetOutputState(device.Address, "1");
     _iteInteropService.WaitHandle.Set();
     return(true);
 }