Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Acknowledgement for periodic message

Hello,
 
Is there a way to get an acknowledgement when a periodic message is sent. The reason is, I need to send a VIN message of the vehicle to the controller. The VIN message contains 4 part message with same arbitration ID and each message needs to go every 100msec. What I want to do is, I would like to set up a periodic message with a Arbitration ID and when ever a message is written after 100msec I want to write the next message into the queue so that the next period the second message is sent and so on. This process is reapeated when all the four messages are sent. I can do this by keeping a while loop with a 100msec timer inside it and use the event based transmit to send the data. I am not using a real time DAQ and I don't trust the windows to be accurate all the time. Please advise a best way to solve my issue.
 
Thanks,
 
Mudda.
0 Kudos
Message 1 of 2
(3,581 Views)

You could use an object and continuously refill the queue you have to configure, with frames you need to send. Or see the attached example, to use the write mult in "timestamped" mode to write multiple frames with a specific time difference. But the problem si you will get a jitter because of the wait execution time.

DirkW

0 Kudos
Message 2 of 2
(3,576 Views)