Skip to content
Snippets Groups Projects
Commit 357719ca authored by Markus Scheck's avatar Markus Scheck
Browse files

Add comment about RT capabilities on ethernet.

parent 4e42ca71
No related branches found
No related tags found
No related merge requests found
Zum Ausführen dieses Programms muss ein spezieller CANoe-Realtime-Aufbau verwendet werden. Ansonsten wird der Jitter deutlich höher als erwartet.
Siehe https://assets.vector.com/cms/content/products/canoe/canoe/docs/Fact%20Sheets/CANoe_FactSheet_DE.pdf.
Mit dem Timings_deltas_between_packages werden auch mit einem normalen CANoe-Aufbau ähnliche Werte wie mit dem RT-Fähigen Aufbau erzielt.
......@@ -72,14 +72,12 @@ on ethernetPacket msgChannel2.* {
if(count == num_send) {
snprintf(outbuf, 20, "%ld", txPacket.Length);
write(outbuf);
snprintf(outbuf, 20, "delay: %ld ns", accumulate/8192);
snprintf(outbuf, 20, "del: %ld ns", accumulate/8192);
write(outbuf);
snprintf(outbuf, 20, "min: %ld ns", minTime);
write(outbuf);
snprintf(outbuf, 20, "max: %ld ns", maxTime);
write(outbuf);
snprintf(outbuf, 20, "jitter: %ld ns", maxTime-minTime);
write(outbuf);
// try next length
if(txPacket.Length < 1500 && random == 0) {
txPacket.Length += 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment