Hello,
What is the simpliest way to get explorer to send a standard Message but too change the data on each cycle?
In simpliest form to toggle beween two different data payloads? i.e.
0x400 FF 00 FF 00 FF 00 FF 00
0x400 00 00 00 00 11 11 11 11
Could this be extended to work through a list of different data or a CSV File of data?
I am an engineer rather than a programmer but willing to learn basics.
Thanks. J.
Transmit. Toggle between payload data
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Transmit. Toggle between payload data
Hello J,
You can send messages using the Send-Instructions, the syntax works like this:
Send BUS CAN-ID DLC BYTE0 BYTE1 BYTE2 etc...
So a 4-byte long message with CAN-ID 401 on Bus 1 would look like this:
If you want to repeat this over and over, use the "Repeat" instructions:
we even have a Example-project for working with CSV-files.
If you are interested, just write a short Mail to us -> support[at]peak-system.com, just
link this topic in your email.
Best Regards
Marvin
You can send messages using the Send-Instructions, the syntax works like this:
Send BUS CAN-ID DLC BYTE0 BYTE1 BYTE2 etc...
So a 4-byte long message with CAN-ID 401 on Bus 1 would look like this:
Code: Select all
Send 1 401h 4 11h 44h 00h AAh
Code: Select all
FormatVersion=6.0
Send 1 100h 2 12h 34h
Send 1 100h 2 13h 35h
Wait 500
Repeat
Not in Standard-Macros, it's feasible in VBscript Macros however,Could this be extended to work through a list of different data or a CSV File of data?
we even have a Example-project for working with CSV-files.
If you are interested, just write a short Mail to us -> support[at]peak-system.com, just
link this topic in your email.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team