@@ -670,6 +670,7 @@ class TPCANChannelInformation(Structure):
670670# PCAN-Basic API function declarations
671671# ///////////////////////////////////////////////////////////
672672
673+
673674# PCAN-Basic API class implementation
674675#
675676class PCANBasic :
@@ -719,7 +720,6 @@ def Initialize(
719720 IOPort = c_uint (0 ),
720721 Interrupt = c_ushort (0 ),
721722 ):
722-
723723 """Initializes a PCAN Channel
724724
725725 Parameters:
@@ -744,7 +744,6 @@ def Initialize(
744744 # Initializes a FD capable PCAN Channel
745745 #
746746 def InitializeFD (self , Channel , BitrateFD ):
747-
748747 """Initializes a FD capable PCAN Channel
749748
750749 Parameters:
@@ -775,7 +774,6 @@ def InitializeFD(self, Channel, BitrateFD):
775774 # Uninitializes one or all PCAN Channels initialized by CAN_Initialize
776775 #
777776 def Uninitialize (self , Channel ):
778-
779777 """Uninitializes one or all PCAN Channels initialized by CAN_Initialize
780778
781779 Remarks:
@@ -797,7 +795,6 @@ def Uninitialize(self, Channel):
797795 # Resets the receive and transmit queues of the PCAN Channel
798796 #
799797 def Reset (self , Channel ):
800-
801798 """Resets the receive and transmit queues of the PCAN Channel
802799
803800 Remarks:
@@ -819,7 +816,6 @@ def Reset(self, Channel):
819816 # Gets the current status of a PCAN Channel
820817 #
821818 def GetStatus (self , Channel ):
822-
823819 """Gets the current status of a PCAN Channel
824820
825821 Parameters:
@@ -838,7 +834,6 @@ def GetStatus(self, Channel):
838834 # Reads a CAN message from the receive queue of a PCAN Channel
839835 #
840836 def Read (self , Channel ):
841-
842837 """Reads a CAN message from the receive queue of a PCAN Channel
843838
844839 Remarks:
@@ -867,7 +862,6 @@ def Read(self, Channel):
867862 # Reads a CAN message from the receive queue of a FD capable PCAN Channel
868863 #
869864 def ReadFD (self , Channel ):
870-
871865 """Reads a CAN message from the receive queue of a FD capable PCAN Channel
872866
873867 Remarks:
@@ -896,7 +890,6 @@ def ReadFD(self, Channel):
896890 # Transmits a CAN message
897891 #
898892 def Write (self , Channel , MessageBuffer ):
899-
900893 """Transmits a CAN message
901894
902895 Parameters:
@@ -916,7 +909,6 @@ def Write(self, Channel, MessageBuffer):
916909 # Transmits a CAN message over a FD capable PCAN Channel
917910 #
918911 def WriteFD (self , Channel , MessageBuffer ):
919-
920912 """Transmits a CAN message over a FD capable PCAN Channel
921913
922914 Parameters:
@@ -936,7 +928,6 @@ def WriteFD(self, Channel, MessageBuffer):
936928 # Configures the reception filter
937929 #
938930 def FilterMessages (self , Channel , FromID , ToID , Mode ):
939-
940931 """Configures the reception filter
941932
942933 Remarks:
@@ -963,7 +954,6 @@ def FilterMessages(self, Channel, FromID, ToID, Mode):
963954 # Retrieves a PCAN Channel value
964955 #
965956 def GetValue (self , Channel , Parameter ):
966-
967957 """Retrieves a PCAN Channel value
968958
969959 Remarks:
@@ -1026,7 +1016,6 @@ def GetValue(self, Channel, Parameter):
10261016 # error code, in any desired language
10271017 #
10281018 def SetValue (self , Channel , Parameter , Buffer ):
1029-
10301019 """Returns a descriptive text of a given TPCANStatus error
10311020 code, in any desired language
10321021
@@ -1069,7 +1058,6 @@ def SetValue(self, Channel, Parameter, Buffer):
10691058 raise
10701059
10711060 def GetErrorText (self , Error , Language = 0 ):
1072-
10731061 """Configures or sets a PCAN Channel value
10741062
10751063 Remarks:
@@ -1098,7 +1086,6 @@ def GetErrorText(self, Error, Language=0):
10981086 raise
10991087
11001088 def LookUpChannel (self , Parameters ):
1101-
11021089 """Finds a PCAN-Basic channel that matches with the given parameters
11031090
11041091 Remarks:
0 commit comments