Esempio n. 1
0
 bool SetDataLengthControl()
 {
     XLDefine.XL_Status[] status = new XLDefine.XL_Status[configurationSettings.HardwareChannelCount];
     for (int i = 0; i < configurationSettings.HardwareChannelCount; i++)
     {
         status[i] = driver.XL_LinSetDLC(portHandle, MasterMask[i], DLC);
     }
     XLDefine.XL_Status maxChannelStatus = status.Max();
     return(DriverAction("Set Data Length Control", maxChannelStatus));
 }