Search found 4 matches

by PaulS
Thu 26. Jun 2014, 17:45
Forum: PCAN-Explorer 5 & Add-ins
Topic: Reading data bytes with Standard Macro?
Replies: 3
Views: 4299

Re: Reading data bytes with Standard Macro?

Hi Michael,

Would you be able to get me started with a quick example in VBScript of how to do the following?

Read 2 110h 4 Byte0 Byte1 Byte2 Byte3
wait 100
Send 1 10BB0099h 1 Byte1
Stop

Paul
by PaulS
Thu 26. Jun 2014, 15:41
Forum: PCAN-Explorer 5 & Add-ins
Topic: Reading data bytes with Standard Macro?
Replies: 3
Views: 4299

Reading data bytes with Standard Macro?

Hi,

Can a Standard Macro read and assign data bytes to a variable?

Example:

Read 2 110h 4 Byte0 Byte1 Byte2 Byte3
wait 100
Send 1 10BB0099h 1 Byte1
Stop

Or do I need to use a VBS Macro for this?

Paul
by PaulS
Thu 26. Jun 2014, 15:19
Forum: PCAN-Explorer 5 & Add-ins
Topic: Sending simple sequenced messages
Replies: 2
Views: 5634

Re: Sending simple sequenced messages

Hi Mark,

Thank you for the info. It worked great!

Paul
by PaulS
Wed 18. Jun 2014, 17:37
Forum: PCAN-Explorer 5 & Add-ins
Topic: Sending simple sequenced messages
Replies: 2
Views: 5634

Sending simple sequenced messages

Hi,

I would like to send the following messages in order using PCAN-Explorer 5 with a 10 ms pause between them.
Something like the below...

Send 10AA0099h 4 01h 02h 03h 04h
Pause 10
Send 10BB0099h 8 10h 12h 13h 14h 15h 16h 17h 18h
Pause 10
Send 10BB0099h 8 21h 41h 42h 43h 44h 45h 20h 20h
Pause 10 ...