Search found 3 matches

by John Linq
Fri 6. Jun 2025, 03:21
Forum: PCAN-Explorer 6 & Add-ins
Topic: PE6, Macro, CANFD 64bytes, failed to fill data
Replies: 4
Views: 1274

PE6, Macro, CANFD 64bytes, failed to fill data

Hello everyone,
I need help understanding how to write this macro/script in PCAN-Explorer 6:

Dim RcvMsg, TxMsg
Set RcvMsg = MyClient.Messages.Add
Set TxMsg = MyClient.Messages.Add

With TxMsg
.ID = &H220
.DLC = 10 ' 16 Bytes
.MsgType = pcanMsgTypeFD + pcanMsgTypeBRS

' fill data
Dim i ...