Beispiel #1
0
 public static extern TPCANStatus WriteFD(
     [MarshalAs(UnmanagedType.U2)]
     TPCANHandle Channel,
     ref TPCANMsgFD MessageBuffer);
Beispiel #2
0
 private static extern TPCANStatus ReadFD(
     [MarshalAs(UnmanagedType.U2)]
     TPCANHandle Channel,
     out TPCANMsgFD MessageBuffer,
     IntPtr TimestampBuffer);
Beispiel #3
0
 /// <summary>
 /// Reads a CAN message from the receive queue of a FD capable PCAN Channel
 /// </summary>
 /// <param name="Channel">The handle of a FD capable PCAN Channel</param>
 /// <param name="MessageBuffer">A TPCANMsgFD structure buffer to store the CAN message</param>
 /// <returns>A TPCANStatus error code</returns>
 public static TPCANStatus ReadFD(
     TPCANHandle Channel,
     out TPCANMsgFD MessageBuffer)
 {
     return(ReadFD(Channel, out MessageBuffer, IntPtr.Zero));
 }
Beispiel #4
0
 public static extern TPCANStatus ReadFD(
     [MarshalAs(UnmanagedType.U2)]
     TPCANHandle Channel,
     out TPCANMsgFD MessageBuffer,
     out TPCANTimestampFD TimestampBuffer);