示例#1
0
 public static extern ECANStatus Receive(
     UInt32 DeviceType,
     UInt32 DeviceInd,
     UInt32 CANInd,
     out CAN_OBJ Receive,
     UInt32 length,
     UInt32 WaitTime);
示例#2
0
 public static extern UInt32 Receive(
     UInt32 DeviceType,
     UInt32 DeviceIndex,
     UInt32 CANIndex,
     out CAN_OBJ Receive,
     UInt32 Length,
     UInt32 WaitTime);
示例#3
0
 public static extern ECANStatus Transmit(
     UInt32 DeviceType,
     UInt32 DeviceInd,
     UInt32 CANInd,
     ref CAN_OBJ Send,
     UInt16 length);
示例#4
0
 public static extern UInt32 Transmit(
     UInt32 DeviceType,
     UInt32 DeviceIndex,
     UInt32 CANIndex,
     CAN_OBJ Send,
     UInt16 Length);
示例#5
0
 [DllImport("ECanVci.dll", EntryPoint = "Transmit")] //返回实际发送的帧数。单帧发送
 public static extern UInt32 Transmit(
     UInt32 DeviceType,
     UInt32 DeviceInd,
     UInt32 CANInd,
     ref CAN_OBJ Send,
     UInt32 length);