code: def Write(
          self,
          Channel,
          MessageBuffer):
  
          
          try:
              res = self.__m_dllBasic.CAN_Write(Channel,byref(MessageBuffer))
              return TPCANStatus(res)
          except:
              logger.error("Exception on PCANBasic.Write")
              raise
docs: Transmits a CAN message
  
          Parameters:
            Channel      : A TPCANHandle representing a PCAN Channel
            MessageBuffer: A TPCANMsg representing the CAN message to be sent
  
          Returns:
            A TPCANStatus error code