bool SetLinSlave(ulong accessMask) { calcChecksumType = XLDefine.XL_LIN_CalcChecksum.XL_LIN_CALC_CHECKSUM;//short enum bug status = driver.XL_LinSetSlave(portHandle, accessMask, linSlaveId, linData, dataLengthCode, calcChecksumType); return(DriverAction("Set Lin Slave", status, false)); }