Page 1 of 1
Send messages faster than once per millisecond?
Posted: Wed 13. Apr 2016, 23:19
by Username
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)?
Re: Send messages faster than once per millisecond?
Posted: Fri 15. Apr 2016, 10:08
by PEAK-Support
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)