Adding an Attribute
From Solution Explorer, double-click the Driver Designer node under the Nimbus node.
The IVI-C Driver Designer tree view opens.
Expand the root node and locate and then select the desired branch where the new attribute is desired.
Right-click on the selected node and choose Add Attribute.
A new attribute is added with a default name and the tree node enters edit mode. By default the attribute type is Double.
With the attribute node still in edit mode, type the desired name of the property followed by a colon (:) followed by the name of the return type, and hit the Enter key. The colon and type can be excluded if the desired property type is Double.
When adding attributes to the driver hierarchy, the name chosen is actually the display name of the attribute. This display name is used in the attribute information (.sub) file and in displaying the hierarchy of functions and attributes in the Driver Designer. The actual attribute macro name used in the generated driver header file will be created from this display name by converting whitespace to underscores. All attribute macro names are prefixed by PREFIX_ATTR_, but this portion of the macro name is never displayed in the designer for clarity.
After the attribute is added, the IVI-C Attribute General Editor appears in the right portion of the IVI-C Driver Designer. See the help topic for that Item Editor for details on defining the attribute further.
Download a complete CHM version of this documentation here.