Exemple #1
0
 private void terminateEZLinkDLL()
 {
     Interlocked.Increment(ref this._adtRec.IsDeviceBusy);
     lock (this._adtRec.DevSyncObj)
     {
         DataBuffer data = new DataBuffer(100);
         data.appWin_setCommand_WriteRegister(0x41, 0x4100);
         this._ddi.write(this._adtRec.PortAddress.handle, data);
     }
     Interlocked.Decrement(ref this._adtRec.IsDeviceBusy);
 }