Getting started using data sampling
Choose Driver>Data Sample Setup to open the Data Sample Setup window.
In the Data Sample Setup window, perform these actions:
In the Expression column, type the name of the variable for which you want to sample data. The variable must be an integral type with a maximum size of 32 bits and you can specify up to four variables. Make sure that the checkbox is selected for the variable that you want to sample.
In the Sampling interval column, type the number of milliseconds to pass between the samples.
To view the result of data sampling, you must enable it in the window in question:
Choose Driver>Data Sample to open the Data Sample window. From the context menu, choose Enable.
Choose Driver>Sampled Graphs to open the Sampled Graphs window. From the context menu, choose Enable.
Start executing your application program. This starts the data sampling. When the execution stops, for example because a breakpoint is triggered, you can view the result either in the Data Sample window or as the Data Sample graph in the Sampled Graphs window
If you want to save the log or summary to a file, choose Save to log file from the context menu in the window in question.
To disable data sampling, choose Disable from the context menu in each window where you have enabled it.