06-08-2017 12:11 AM
Hi,
I am using 9862 for high speed CAN. I need to send multiple periodic messages at different timings using NI X-NET. Is possible to send at different timing intervals (say 100ms & 50ms). If yes please share me any documents or links regarding the same.
06-08-2017 08:28 AM
The best resource I can provide you with is the XNET manual. It can answer a lot of questions for new users if read carefully.
Periodically transmitted frames (or cyclic frames in XNET parlance) use the CAN:Timing Type property (page 4-359) to indicate they are cyclic and the Frame:CAN:Transmit Time property (page 4-188) to control the period.
The XNET hardware will automatically transmit the most recent value of a cyclic frame at the first opportunity after the transmit time has elapsed. This is all performed in the hardware, requires no host control, and uses precise hardware timing.
You can experiment with cyclic timing with our shipping examples and the XNET bus monitor. Select any of the output examples, choose a cyclic frame from the example database, and experiment with the transmit time and/or loop rate to get a better understand of how they work together.
06-08-2017 09:02 AM - edited 06-08-2017 09:03 AM
Might I suggest you read up on a blog post I made on in depth XNet features. It basically goes over several of the NI examples and talks about when you might choose one session type over the other, and how to effectively use the API. The series in general is a good read for those new to CAN as well.
But yes to answer your question, periodic single point type sessions will continue transmitting at the rate specified by the database, for each frame independently.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord