09.01.2013 Views

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

64<br />

The post-trigger time indicates how long data continue to be acquired and saved after<br />

the trigger condition occurs. The measurement is terminated automatically after the<br />

post-trigger time has elapsed. Valid post-trigger times must lie in the range of 0 to<br />

180000 ms.<br />

2.7.1.4 Configuration of the Logging Buffer<br />

<strong>CANoe</strong> initially saves the data arriving in the logging branch to a ring buffer in the<br />

PC's main memory.<br />

Under Buffer size you can define the size of the buffer in which events are saved<br />

intermediately during a measurement. Approximately 50 bytes of memory is taken<br />

per message; however, this memory is only reserved as needed during the measurement.<br />

Consequently, for very large buffer sizes Windows may swap-out portions<br />

of the main memory to the hard drive during the measurement, and this may lead to<br />

significantly delayed program execution.<br />

After the trigger condition occurs the ring buffer is filled with raw data until the posttrigger<br />

time has elapsed. The user can define whether the triggering process should<br />

be run once or multiple times. If the option Measurement stop after n trigger<br />

blocks is chosen, then the measurement process is stopped by the logging block<br />

after the post-trigger time of the nth trigger has elapsed. At that time it transfers data<br />

from the ring buffer to the actual log file. Depending on the quantity of data, this<br />

memory transfer process may involve substantial waiting times.<br />

Since the ring buffer is limited in size, data can be lost if the pre-trigger and/or posttrigger<br />

times are too long. Then only the last data are recorded up to the point where<br />

the post-trigger time elapsed, and an error message is output. If necessary the<br />

measurement can be repeated with a data reduction filter inserted upstream.<br />

Note: If you wish to write all data to file for a long-duration measurement you<br />

should select the option Write full buffer to file. This option causes the<br />

buffer contents to be written to the log file during the measurement as<br />

soon as the prescribed (maximum) buffer size is reached. The buffer size<br />

is of decisive importance with this option. To prevent excessive system<br />

loading during saves to the buffer, and to prevent data losses, the buffer<br />

should not be configured to be very large. Buffers of approx. 1000 messages<br />

have proven effective in practice. This option is only accessible in<br />

Entire Measurement mode or in Single Trigger mode with the trigger<br />

type Start.<br />

To prevent data losses, especially at high system loading, you should observe the<br />

following points:<br />

• Close all applications that run in background and demand system time;<br />

• Switch all blocks in the measurement setup over to Cyclic Update or disable<br />

them entirely.<br />

• Utilize filters for data reduction.<br />

• Do not execute any unnecessary user actions during the measurement, such as<br />

moving windows.<br />

© Vector Informatik GmbH <strong>CANoe</strong>/<strong>DENoe</strong> Manual Version 4.1.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!