Echelon IzoT NodeBuilder User Manual

Page 255

Advertising
background image

4. If you right-clicked a statement, the drop-down list in the Watch Type box is empty and you need

to select one of the following types of variables to watch :

Watch variable. Enter a network variable using its global network variable name or using its

functional block member name (for example, using the scope operator “::”). Similarly, you
can enter a configuration network variable using its global network variable name or using the
corresponding configuration property syntax. See the Neuron C Programmer’s Guide and
Neuron C Reference Guide for more information on referencing configuration network
variables (CPNVs). To watch a configuration property that is implemented within a
configuration file (file CP), specify the configuration property to be watched as follows:

[<FB or NV name>][[<FBNVindex>]]::<CP name>[[<CPindex>]]

If the configuration property applies to a functional block or network variable, enter <FB or
NV name>; if the property applies to the entire device start the name with the scope operator
(for example, ::cpValue). If the functional block or network variable is part of an array,
enter the <FBNVindex> value to specify the array member. <CP name> can be a
configuration property variable or array. If the configuration property is part of an array,
enter the <CP index> to specify the member of the array to watch. In addition, the following
rules apply:

▪ You cannot watch an entire configuration network variable array. You must specify a

single element to be watched using the <CPindex> field.

▪ You can only watch an entire cp_family array. In this case, do not specify a <CPindex>;

the entire array will be displayed in a tree structure in the watch list.

See the Neuron C Programmer’s Guide and the Neuron C Reference Guide for more
information on the syntax used for accessing configuration properties.

Configuration Table Symbol. Select a configuration table value to be watched from the list

of all available configuration table symbols.

Built-in Symbol. Select a built-in symbol value to be watched from the list of all available

system symbols. You can click Missing to list any header files not used in this application
that contain other system variables. If you want to watch one of these system symbols, you
will need to include the header file and rebuild the device application.

You can click Recalculate to search for the currently selected watch variable. If the selected
variable is a structure type, the pane at the bottom of the dialog allows you to browse the variable
structure. If the variable does not exist, a dialog pops up with the message Symbol Not Found.

5. Click Add Watch to add the selected variable to the Watch List pane. If the variable is a structure

or union, you can expand the variable and then the data type under the Type column to display all
the fields of the structure. For each variable or field in a structure, the watch list displays the type,
variable name, and value.

IzoT NodeBuilder FX User's Guide

241

Advertising