Send messages faster than once per millisecond?

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
Username
Posts: 17
Joined: Fri 31. Jul 2015, 17:57

Send messages faster than once per millisecond?

Post by Username » Wed 13. Apr 2016, 23:19

In PCAN Explorer 5, when sending a message in the transmit window, the lowest Cycle Time that can be entered is 1 ms. Is there a way to make cycle time less than 1 ms in higher bit rate applications (250 kbit/s to 1 Mbit/s)?

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Send messages faster than once per millisecond?

Post by PEAK-Support » Fri 15. Apr 2016, 10:08

No, an a Windows based system, without any realtime extension, a lower cycle time is not possible. When writing your own application, with the PCAN-Basic API, you could try to do this with Threading and using the HighRes Timer, but at the end the CAN Frames are send when there is free timeslot on the bus and if there are any colissions, the prio (ID) of the CAN Frame must be high enough.(Low ID - High Prio)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply