I am verifying can messages made by me.
These message work properly for single frame message, but multiple frame message doesn't work.
So, I would like to insert sleep or delay function between frame messages.
Is there a way to insert delay or wait function as below example?
[As -Is]
; D:\Door.xmt
; CAN messages saved by PCAN-View v4.3.4.615
43Fh 0 8 D 00h 40h 50h FFh 52h 00h 00h 00h
370h 0 8 D FFh 20h 00h 00h 00h 00h 00h 00h
440h 0 8 D FFh FFh 00h 00h FFh 00h 00h 00h
220h 0 8 D 04h 04h FFh 03h 04h 00h FFh 0Fh
1F1h 0 8 D 00h 00h 00h 00h 00h 00h 00h 00h
260h 0 8 D 00h 00h 00h 00h 00h 00h 00h 00h
[To-be]
; D:\Door.xmt
; CAN messages saved by PCAN-View v4.3.4.615
43Fh 0 8 D 00h 40h 50h FFh 52h 00h 00h 00h
370h 0 8 D FFh 20h 00h 00h 00h 00h 00h 00h
sleep 10 (wait 10ms)
440h 0 8 D FFh FFh 00h 00h FFh 00h 00h 00h
220h 0 8 D 04h 04h FFh 03h 04h 00h FFh 0Fh
1F1h 0 8 D 00h 00h 00h 00h 00h 00h 00h 00h
sleep 100 (wait 100ms)
260h 0 8 D 00h 00h 00h 00h 00h 00h 00h 00h
Thanks,
jaeo.
How to insert delay or wait to xmt file?
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to insert delay or wait to xmt file?
Dear Jaeo,
There is no such thing in a transmit-list.
Transmit-lists only contain messages and their corresponding cycle time.
You could stagger the cycle times of a frame to get multiple possible variants of a message but you cannot introduce sleeps like this.
Also could you please give us more information on which software/API you are currently using?
Best Regards
Marvin
There is no such thing in a transmit-list.
Transmit-lists only contain messages and their corresponding cycle time.
You could stagger the cycle times of a frame to get multiple possible variants of a message but you cannot introduce sleeps like this.
Also could you please give us more information on which software/API you are currently using?
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: How to insert delay or wait to xmt file?
Dear Marvin
Thanks for your quick response.
I understood that PCAN-View currently doesn't support delay feature. Is it correct?
Thanks,
jaeo.
Thanks for your quick response.
I understood that PCAN-View currently doesn't support delay feature. Is it correct?
Thanks,
jaeo.
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to insert delay or wait to xmt file?
Dear Jaeo,
No it does not, PCAN-View is not right tool for automation such as this.
You could have a look at our PCANBasic API to write a small application that
does what you intend to do:
https://www.peak-system.com/PCAN-Basic.239.0.html?&L=1
It's available for free and contains an extensive docuemntation as well as examples, which you could use to base your own implementation on.
Best Regards
Marvin
No it does not, PCAN-View is not right tool for automation such as this.
You could have a look at our PCANBasic API to write a small application that
does what you intend to do:
https://www.peak-system.com/PCAN-Basic.239.0.html?&L=1
It's available for free and contains an extensive docuemntation as well as examples, which you could use to base your own implementation on.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team