Everything
2.13.1 Graph transitions in values

Display the relationship between registered variable/register/address/other values and time by a graph (line chart).

Furthermore, when the selected microcontroller incorporates a Smart Analog IC [E1/E2/E2 Lite/E20/COM Port[RL78]], by enabling the Data collection modeNote on the debug tool, it is possible to display the collected data for Smart Analog by a graph.

Graphs are displayed in the Analysis Chart panel's [Variable Value Changing Chart] tab.

See the [Variable Value Changing Chart] tab for details on each of the area displayed.

Note

Data collection mode

This mode is the debug tool's feature that is supported only when the selected microcontroller incorporates a Smart Analog IC [E1/E2/E2 Lite/E20/COM Port[RL78]].
When the debug tool is in this mode, the data for Smart Analog can be collected while a program is executed. This mode becomes valid by performing the following setting on the debug tool's Property panel:

[Debug Tool Settings] tab >> [Smart Analog] category >> [Collect data during the execution] property >> [Yes]

Figure 2.26

Graph of Transition in Variable Values

Cautions 1.

A graph is displayed based on trace data or real-time RAM monitoring results acquired by the debug tool. To display a graph, see cautions of "(a)Trace function" or "(b)RRM function/RAM monitor (pseudo RRM) function".

Cautions 2.

When Real-time sampling analysis is specified as the method for acquiring the graph data, see "3.3Real-time Sampling Analysis".

Cautions 3.

When Trace data analysis is specified as the method for acquiring the graph data, see "3.4Trace Data Analysis".

Cautions 4.

[E1/E2/E2 Lite/E20/COM Port[RL78]]
To graph the collected data for Smart Analog, a monitor program for collecting data must be linked to the execution program.

Remark

You can change the display range of the cursor information area and channel information area by moving the splitter with the mouse. In addition, these areas can be shown/hidden by clicking the mark on the center of their splitters.

 

The procedure for displaying the chart is as follows:

(1)

Register graphing targets

Register the item to graph.

 

(a)When graphing variable/register/address/other values

(b)When graphing the data collected for Smart Analog [E1/E2/E2 Lite/E20/COM Port[RL78]]

Caution

Graphing targets cannot be registered in the condition below:

-

During execution of a program

-

When the [Analysis method] property in the [General] category on the [Variable Value Changing] tab of the Property panel is set to [Load from file] (i.e. when graphs are restored from the analysis chart data file (*.mtac))

(a)

When graphing variable/register/address/other values

The following types of items can be registered.

-

Global variable

-

Static variable inside a file

-

Static variable inside a function

-

Class variable (only when C++ source files are subject to analysis)

-

CPU register

-

IOR [RH850][RX]

-

SFR [RL78]

-

Address

 

There are three ways to register graphing targets, shown below.

When the registration is completed, the name of the registered graphing target will be displayed at the Variable name check box corresponding to the channel number in the channel information area.

 

<1>Registering targets separately (on the Property panel)

<2>Registering targets separately (from the other panel)

<3>Reflecting the Watch panel (auto registration)

Caution

You can register graphing targets for up to 32 channels, one target per channel.
Note, however, that there may be restrictions on the number and size of targets that can be graphed, depending on the debug tool used and the method by which the graph data was acquired (see "(2)Specify the method for acquiring the graph data").

<1>

Registering targets separately (on the Property panel)

Enter the name of the target directly from the keyboard into the [Variable/Address 1 - 32] property in the [Channel 1 - 32] category on the [Variable Value Changing] tab of the Property panel.

Figure 2.27

[Channel1 - 32] Category

 

In addition, the following detailed conditions can be specified with the [Channel 1 - 32] category for each target (see “(4)Display graphs“).

-

[Type/Size 1 - 32]: Type and size

-

[Value per grid[Val/Div] 1 - 32]: Value per grid unit in graph

-

[Offset 1 - 32]: Offset value of graph

-

[Color 1 - 32] property: Rendering color of graph

Remarks 1.

To delete the registered graphing target, delete the value of the above [Variable/Address 1 - 32] property.

Remarks 2.

The registered graphing target name is displayed at the Variable name check box on the [Variable Value Changing Chart] tab.

<2>

Registering targets separately (from the other panel)

From the following panel, drag and drop the target directly onto the Channel number or Variable name check box in this tab.

-

Editor panel

-

CPU register panel

-

IOR panel [RH850][RX]

-

SFR panel [RL78]

-

Watch panel

Note

The name of the graphing target displayed differs depending on the type of the variable, as follows:

-

Global variable: "variable name"

-

Static variable inside a file: "file name#variable name

-

Static variable inside a function: "file name#function name#variable name"

-

Class variable: "class name::variable name"

Remarks 1.

Other than the above, on the Variable List panel or the Editor panel, you can also register the selected variable as a graphing target, by selecting [Register to Analysis Chart] from the context menu.

Remarks 2.

To delete the registered graphing target, delete the value of the [Variable/Address 1 - 32] property in the [Channel 1 - 32] category on the [Variable Value Changing] tab of the Property panel.

<3>

Reflecting the Watch panel (auto registration)

By clicking the [Reflect] button on the graph control area, you can automatically register watch-expressions currently being registered in the Watch panel (Watch1) as graphing targets.

Up to 32 watch-expressions in the Watch panel (Watch1), from top to bottom can be registered. If fewer than 32 watch-expressions have been registered, only the registered number are registered.

Caution

Clicking the [Reflect] button will cause the information of graphing targets being registered to be deleted (the graph being displayed will be erased).

Remarks 1.

Categories themselves are not registered, but variables and other elements within categories are.

Remarks 2.

If a variable has child nodes (e.g. arrays and structures), expanded variables and the like, such as structure members and array indices, are not registered.

Remarks 3.

If a name matches a graphing target that has already registered, then it will be registered twice.

(b)

When graphing the data collected for Smart Analog [E1/E2/E2 Lite/E20/COM Port[RL78]]

This feature is enabled only when the selected microcontroller incorporates a Smart Analog IC.

First, set the debug tool used to the Data collection mode.

Next, specify the channel numbers in which the data is received from a device with the [Data collection channel] property in the [Smart Analog] category on the [Variable Value Changing] tab of the Property panel. In the drop-down list, select the check box of the channel number to be used (up to 8 channels can be selected).

Caution

The [Smart Analog] category appears only when the debug tool is set in the Data collection mode.

Figure 2.28

[Smart Analog] Category

 

In addition, the following detailed conditions can be specified with the [Channel 1 - 32] category on the [Variable Value Changing] tab of the Property panel for each channel (see “(4)Display graphs“).

-

[Variable/Address 1 - 32]: Character strings that are displayed at the Variable name check box

-

[Value per grid[Val/Div] 1 - 32]: Value per grid unit in graph

-

[Offset 1 - 32]: Offset value of graph

-

[Color 1 - 32] property: Rendering color of graph

Figure 2.29

[Channel1 - 32] Category [E1/E2/E2 Lite/E20/COM Port[RL78]]

(2)

Specify the method for acquiring the graph data

There are three ways to acquire the data for graphing, as shown below.

Select the method in the [Analysis method] property in the [General] category on the [Variable Value Changing] tab of the Property panel, in accordance with the purpose.

Cautions 1.

The method for acquiring the graph data cannot be changed during execution of a program.

Cautions 2.

If graph data has already been acquired, then changing this setting will cause the stored graph data to be deleted (the graph being displayed will be erased).

Figure 2.30

[Analysis method] Property

Table 2.13

Method for Acquiring Graph Data

Method for Acquiring Graph Data

Description

Real-time sampling analysis

Select [Real-time sampling] in this property.

This method displays graphs based on the data acquired via the RRM function/RAM monitor (pseudo RRM) function of the debug tool (default).

[E1/E2/E2 Lite/E20/COM Port[RL78]]

If the debug tool is set in the Data collection mode, then the data will be collected using a sampling methodNote for Smart Analog.
Therefore, select this item When graphing the data collected for Smart Analog [E1/E2/E2 Lite/E20/COM Port[RL78]].

[Simulator]

Changes in IOR/SFR cannot be displayed.

Trace data analysis

Select [Analysis of trace data] in this property.

This method displays graphs based on the trace data acquired via the Trace function of the debug tool.

This item does not appear when any one of the following:

-

The debug tool does not support the trace function.

-

The debug tool does not support the trace time tag feature.

-

The debug tool is set in the Data collection mode. [E1/E2/E2 Lite/E20/COM Port[RL78]]

Load from file

Select [Load from file] in this property.

This method restores graphs by loading the analysis chart data file (*.mtac) that have been saved (see “(6)Save the graph data to restore the graph).

Note

The following property setting on the Property panel is required.

-

[Variable Value Changing] tab >> [Smart Analog] category >> [Sampling interval[ms]] property

 

The differences depending on the method for acquiring graph data are as follows:

Table 2.14

Differences Depending on Method for Acquiring Graph Data

Differences

Real-time Sampling Analysis

Trace Data Analysis

Graph display

Possible when the debug tool is in any of the following states:

-

Data collection mode [E1/E2/E2 Lite/E20/COM Port[RL78]]

Possible when Trace function of the debug tool is enabled

Chart type

One of the followingNote 1

-

Step-plot line chart

-

Normal line chart

Step-plot line chart (fixed)

Registration of graphing targets

Before execution of a program

Not dependent on the execution timing because analysis is based on trace data

Number of targets that can be graphed

Dependent on the size of the target area of RRM functionNote 2.

If Point Trace events are used:
Dependent on the maximum number of enabled eventsNote 3 in the debug tool

Size of targets that can be graphed

-

Less than or equal to 4 bytes

-

Less than or equal to 4 bytes [CC-RH][RX]

-

Less than or equal to 2 bytes [RL78]

Time display range

The execution time, from the start to the end of program execution (Run-Break time)

Time registered as trace data

Time display format

XXXsXXXms

XXXsXXXmsXXXμsXXXns

Trigger function

Available (see "(3)Use the trigger function")

None

Real-time update

Possible

Impossible

Transition points of value

Not possible to identify accurate time/change points, because they depend on the specified sampling intervalNote 4.

Matches actual timing (can be checked from Pop-up display)

Target core

[RH850]

See "(b)RRM function/RAM monitor (pseudo RRM) function".

See "(a)Trace function".

Note

See "3.3Real-time Sampling Analysis".

See "3.4Trace Data Analysis".

Notes 1.

This depends on the following setting on the Property panel:

-

[Variable Value Changing] tab >> [General] category >> [Chart type] property

Notes 2.

[E20(JTAG)[RX600 Series]]
Some restrictions apply to the size and the number of the target area for the RRM function.
Therefore, CS+ automatically determines the target area within the restrictions.
For details on "the target area for the RRM function", see "CS+ Debug Tool" of the microcontroller used.

Notes 3.

The number of events that can be set to "valid state" simultaneously differs depending on the microcontroller and the debug tool. For details on "Maximum number of enabled events", see "CS+ Debug Tool" of the microcontroller used.

Notes 4.

When RRM function/RAM monitor (pseudo RRM) function is used:

-

Debug tool's Property panel >> [Debug Tool Settings] tab >> [Access Memory While Running] category >> [Display update interval[ms]] property

When the debug tool is in the Data collection mode [E1/E2/E2 Lite/E20/COM Port[RL78]]:

-

Property panel >> [Variable Value Changing] tab >> [Smart Analog] category >> [Sampling interval[ms]] property

(3)

Use the trigger function

If you specify Real-time sampling analysis, you can control the timing with which the graph is displayed in response to the specified trigger. You can use this trigger function to display the graph with the appearance of an oscilloscope.

The trigger function can be configured in the [Trigger] category on the [Variable Value Changing] tab of the Property panel.

Your configuration contents will be listed on this tab as the trigger information.

Caution

The properties in the [Trigger] category cannot be changed during execution of a program.

Figure 2.31

Setting of Trigger Function ([Trigger] Category)

(a)

[Use trigger function]

Select whether to use the trigger function.

Select [Yes] to use the trigger function (default: [No]).

(b)

[Trigger mode]

Select the trigger mode (the timing at which graphs are updated).

Auto

Updates the graph display cyclically in real time (default).

When a trigger signal is received, the data immediately prior to the trigger signal is graphed to the left of the trigger position, and the data immediately after the trigger signal is graphed to the right of the trigger position.

When the graph reaches the right edge of the graph area, the graph resumes scrolling to the left, and the graph display is updated.

Single

Only updates the graph display upon the first trigger signal from the start of sampling.

When a trigger signal is received, the data immediately prior to the trigger signal is graphed to the left of the trigger position, and the data immediately after the trigger signal is graphed to the right of the trigger position.

When the graph reaches the right edge of the graph area, the graph display stops updating and samplingNote.

Normal

Only updates the graph display upon trigger signals.

When a trigger signal is received, the data immediately prior to the trigger signal is graphed to the left of the trigger position, and the data immediately after the trigger signal is graphed to the right of the trigger position.

When the graph reaches the right edge of the graph area, the graph display stops updating. Because sampling does not stop, the graph display is updated upon the next trigger signal.

Note

The sampling is stopped regardless of whether [Sync] or [Manual] is selected in the [Start/stop real-time sampling] property in the [General] category on the [Variable Value Changing] tab of the Property panel.

Remark

Triggers are suspended while the graph is being updated in response to a trigger signal. A trigger signal received during this time will not cause the graph display to be updated. In [Auto] and [Single] modes, trigger signals are ignored while triggers are suspended. In [Normal] mode, the graph is updated in response to the latest trigger signal when trigger suspension is lifted.

(c)

[Trigger source]

Select the variable (channel) that is the source of trigger signal.

Select a channel between ch1 and ch32 (default: [ch1]).

(d)

[Trigger level]

Specify the threshold value for determining as a trigger signal.

The variable (channel) specified for [Trigger source] determines whether a trigger signal is recognized, according to whether the value exceeds the threshold set here.

Directly enter a value with a decimal or hexadecimal number in the range "minimum trigger source" to "maximum trigger source" (floating-point decimals allowed) (default: [0]).

Remark

The trigger level is displayed on the right part of graphs as the trigger mark ( ).
The trigger level can be changed by dragging on this trigger mark (note, this operation is disabled during execution of a program).

(e)

[Direction of trigger edge]

Select the direction of the threshold value specified with [Trigger level].

The variable (channel) specified for [Trigger source] determines whether a trigger signal is recognized, according to whether the value exceeds the threshold in the direction set here.

Rising

Generates a trigger signal when the value of [Trigger source] changes from less than [Trigger level] to greater than or equal to [Trigger level] (default).

Falling

Generates a trigger signal when the value of [Trigger source] changes from greater than [Trigger level] to less than or equal to [Trigger level].

Both

Generates a trigger signal when both “Rising“ and “Falling“.

(f)

[Trigger position]

Specify the position on the X axis for rendering the location at which the trigger signal occurred (i.e. position where the data is graphed after a trigger signal occurs).

Directly enter a value with a decimal number in the following range (default: [0s]).

Note that if the unit (s, ms, us, ns: case insensitive) is omitted, it will be handled as "ms".

-

0 to "(the value of the [Time per grid[Time/Div]] property) x 10"

Remark

The trigger position is displayed on the upper part of graphs as the trigger mark ( ).
The trigger position can be changed by dragging on this trigger mark (note, this operation is disabled during execution of a program).

(g)

[Trigger mark color]

Specify the color of the trigger marks ( / ) that indicate the trigger level and the trigger position.

Specify with the color selection combo box or directly enter the value in decimal number/hexadecimal number (prefix "0x" is needed) or the color name (see "About the specification of the color") (default: [Color Orange]).

(4)

Display graphs

After you have executedNote and stopped the program, the latest graph for the registered graphing target is displayed (default). Note, however, that no graphs will be displayed if the corresponding data could not be acquired.

Graphs are updated when:

 

-

Real-time sampling analysis
Each time of the specified sampling interval, even if a program is running.
You can control (toggle) the start/stop of a real-time sampling manually via the [Sampling] button on this tab, by performing the following setting on the Property panel.

-

[Variable Value Changing] tab >> [General] category >> [Start/stop real-time sampling] property >> [Manual]

-

Trace data analysis
Each time program execution is stopped. Note, however, that if the [Refresh at program stop] property in the [General] category on the [Settings] tab of the Property panel is set to other than [Yes] (default), the information will be updated in accordance with the setting on the Property panel.

Note

[E1/E2/E2 Lite/E20/COM Port[RL78]]
Click the button on the debug toolbar to operate the debug tool in the Data collection mode (all execution-related buttons other than the button are disabled). For details on Smart Analog function, see "CS+ Debug Tool".

Cautions 1.

If the acquired graph data exceeds the buffer capacity (10000 plots), then the oldest graph data is overwritten by the new graph data (ring buffer system).
In this case, part of the graph rendering will be blank.

Cautions 2.

When Real-time sampling analysis is selected, if acquiring graph data has failed, lines between transition points are not displayed but only the time information is displayed (see "(a)Graph").

Cautions 3.

[E1/E2/E2 Lite/E20/COM Port[RL78]]
If you run the program by the debug tool in the Data collection mode, change the [Data collection channel] property in the [Smart Analog] category on the [Variable Value Changing] tab of the Property panel, and run the program again in the data collection mode, the first transition point in the graph may be incorrect.

Remark

There are limitations to the trace memory area of the debug tool.
Consequently, if the graph is displayed via Trace data analysis, then we recommend setting a Point Trace event for the graphing target in the Watch panel, in order to display transitions of values over a wider range.

 

The display of this graph can be configured as follows:

(a)

Limitation of graphs displayed

You can select the graph to be displayed.

In the default condition, all graphs of channels where the graphing target is being registered are displayed.

To hide a graph, clear the Variable name check box corresponding to its channel number.

(b)

Selection of the chart type

When Real-time sampling analysis is selected, you can select the chart type to be displayed.

To change the chart type, set the [Chart type] property in the [General] category on the [Variable Value Changing] tab of the Property panel (note, however, that if Trace data analysis is selected, then the chart type is fixed to [Step line chart]).

Line chart

Creates a graph linking each plot via straight lines (default).

Step line chart

Creates a graph linking each plot via perpendicular lines (step-plot chart).

Figure 2.32

Chart Type

Remark

You can also specify the rendering color of a graph for each channel individually. To make the setting, set the [Color 1 - 32] property in the [Channel 1 - 32] category on the same tab.

(c)

Setting the display range

The graph is displayed by dividing the X and Y axes into a 10 x 10 grid.

<1>

Use the auto adjustment function (default)

According to the obtained graph data, optimum values are calculated for the time per unit grid (Time/Div) for the X axis and the value per unit grid (Val/Div)/offset value for the Y axis as described below (default) to display a graph.

-

X axis (time)

The grids are automatically adjusted so that the specified number of value transition pointsNote on the graph fit inside the rendering area (between the left and right ends).

-

Y axis (value)

The grids are automatically adjusted so that the upper and lower ends of the rendering area correspond to the maximum and minimum values of the graph data, respectively.

Note

In the default condition, 20 points are specified. This value can be changed via the [Number of transition location for auto adjustment] property in the [General] category on the [Variable Value Changing] tab of the Property panel.

Cautions 1.

The auto adjustment function is disabled when the trigger function is used or the debug tool is set in the Data collection mode.

Cautions 2.

The auto adjustment function becomes invalid when the following operation is performed (the [Auto adjustment] property in the [General] category on the [Variable Value Changing] tab of the Property panel will be changed to [None]).

-

The [Time/Div] label or [Val/Div] label on the Analysis Chart panel is double-clicked.

-

The display range is changed with the mouse operation (see "Set the display range manually").

Remark

The timing at which the auto adjustment is conducted can be specified with the [Auto adjustment] property in the [General] category on the [Variable Value Changing] tab of the Property panel.

<2>

Set the display range manually

First, specify [None] with the [Auto adjustment] property in the [General] category on the [Variable Value Changing] tab of the Property panel. Then, specify the following value.

-

X axis (time)

You can specify the time per unit grid for all channels. To make the setting, set the [Time per grid[Time/Div]] property, in the [General] category on the [Variable Value Changing] tab of the Property panel.

-

Y axis (value)

You can specify the value per unit grid or the offset value for each channel individually. To make the setting, set the [Value per grid[Val/Div] 1 - 32] property or the [Offset 1 - 32] property, in the [Channel 1 - 32] category on the [Variable Value Changing] tab of the Property panel.

 

You can also change the values above by any one of the following mouse operations.

Note, however, that these operations are disabled during execution of a program.

-

The time per unit grid (Time/Div)

-

Double-clicking on the [Time/Div] label in the Analysis Chart panel has the same effect as the automatic adjustment function on the X axis.

-

In the graph area, move the mouse wheel forward or backward while holding down the [Ctrl] key.

-

The value per unit grid (Val/Div) or the offset value

-

Double-clicking on the [Val/Div] label in the Analysis Chart panel has the same effect as the automatic adjustment function on the Y axis.

-

Select a graph (the mark of transition points transforms into ), and then move the mouse wheel forward or backward while holding down the [Ctrl] key.

-

Offset value

-

Click and vertically drag the mouse while pressing the [Shift] key with the mouse cursor placed over any of the transition points in the graph (the mouse cursor transforms into the icon).
Pressing the [Esc] key during dragging the mouse cancels changing the offset value.

(5)

Validate the graph data

You can perform the following operations on the displayed graph as needed.

Caution

These operations below are disabled during execution of a program.

(a)

Pop-up display at a transition point

Check the information about transition points in the graph.

When the mouse cursor is hovered over a transition point on the graph, information about that location appears in a pop-up.

Note, however, that the content displayed will differ depending on the method for acquiring the graph data (see "(i)Pop-up display").

Figure 2.33

Pop-up Display at Transition Point

Remark

When the [Location] information is shown in a pop-up, you can display the applicable location in the Editor panel by double-clicking the transition point (except for a graph that was restored by loading the analysis chart data file (*.mtac)).

(b)

Cursor measurement

You can check the time and value at the position of Cursor-A/Cursor-B on the graph.

You can get a cursor measurement for the X axis (time) or Y axis (value).

Measurements appear in a list in the cursor information area on this tab (see "(4)Cursor information area").

To perform this measurement, first use the cursor selection button ([X axis (Time)] button/[Y axis (Value)] button) to select the target axis to measure. Then, set Cursor-A and Cursor-B to the desired location on the graph by using the following operations (the cursors are hidden by default).

Cursor

Setting (Show)

Clear Setting (Hide)

Cursor-A

[Ctrl] key + click

[Ctrl] key + double-click

Cursor-B

[Ctrl] key + right-click

[Ctrl] key + right-double-click

Remark

You can change the color of each cursor via the [Cursor-A color]/[Cursor-B color] property in the [General] category on the [Variable Value Changing] tab of the Property panel.

(c)

Zoom

You can zoom in on any location on the graph.

In the graph control area, select the zoom 1 - 4 check boxes (multiple selections allowed) to open the Variable Value Changing Chart (zoomed in) panel for the checked number(s), and view the specified range in a zoomed display (you can open up to four Variable Value Changing Chart (zoomed in) panels).

Figure 2.34

Zoom

 

To set the zoom range, select the number of the Variable Value Changing Chart (zoomed in) panel in the [Zoom] combo box, then click and drag with the mouse to select the zoom area. During this time, you can reset the zoom range by using the same operation, as long as Zoom frame appears indicating the drag region displayed on the graph.

To cancel the zoom range setting, press the [ESC] key during dragging.

To clear the set range, double-click somewhere in the graph area (a transition point is not included).

See the Variable Value Changing Chart (zoomed in) panel for details on zoomed views.

Figure 2.35

Zoom (Variable Value Changing Chart (zoom in) Panel)

Remarks 1.

You can set separate zoom ranges for each of four Variable Value Changing Chart (zoomed in) panel views.

Remarks 2.

You can change the color of each zoom frame via the [Zoom-1 - 4 color] property in the [General] category on the [Variable Value Changing] tab of the Property panel.

(6)

Save the graph data to restore the graph

You can restore the graph currently being displayed by loading the analysis chart data file (*.mtac) which saves the data of the graph.

The procedure for restoring the graph is as follows:

(a)

Save the graph data

-

For the graph on the [Variable Value Changing Chart] tab
When the graph to be saved are being displayed on this tab, select [Save Analysis Chart Data As...] from the [File] menu to open the Save As dialog box.
On this dialog box, select “Analysis Chart Data (*.mtac)" in the [Save as type] area and specify the name of new file in the [File name] area, and then click the [Save] button (note that the file extension must be "mtac").

-

For the graph on the Variable Value Changing Chart (zoomed in) panel
When the graph to be saved are being displayed on this panel, select [Save] button to open the Save As dialog box.
On this dialog box, select “Analysis Chart Data (*.mtac)" in the [Save as type] area and specify the name of new file in the [File name] area, and then click the [Save] button (note that the file extension must be "mtac"). However, the graph data saved on the Variable Value Changing Chart (zoomed in) panel is limited to the zoom range.

(b)

Load the graph data

On the [Variable Value Changing] tab of the Property panel, select [Load from file] in the [Analysis method] property in the [General] category (see “(2)Specify the method for acquiring the graph data“).

Then, specify the analysis chart data file (*.mtac) that was saved previously with the [Analysis chart data file] property in the same category.

Figure 2.36

Load Graph Data ([General] Category)

 

At this time, data items to be saved/restored are as follows:

 

[Graph data for each channel]

Data Item

Restored Location

Value

-

The graph display area

-

The channel information area

Time

Information about display or non-display

 

[Values of properties on the [Variable Value Changing] tab in the Property panel]

Data Item

Restored Location

Time per unit grid

[General] category >> [Time per grid[Time/Div]] property

The name of variable registered in each channel

[Channel 1 - 32] category >> [Variable/Address 1 - 32] property

Type/size for each channel

[Channel 1 - 32] category >> [Type/Size 1 - 32] property

Value per unit grid for each channel

[Channel 1 - 32] category >> [Value per grid[Val/Div] 1 - 32] property

Offset value for each channel

[Channel 1 - 32] category >> [Offset 1 - 32] property

Sampling interval

[E1/E2/E2 Lite/E20/COM Port[RL78]]

[Smart Analog] category >> [Sampling interval[ms]] property

Note that saving is possible only when the selected microcontroller incorporates a Smart Analog IC and the debug tool has collected graph data in the Data collection mode.

Caution

Channels without graph data are not saved, regardless of whether the graph is visible. In this case, the default values of the properties for that channel are applied.

Remark

See "2.14Save Analysis Information" for details about saving graph data for purposes other than restoring graphs.