Adding an Attribute
To add an attribute to a driver
Section titled “To add an attribute to a driver”-
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. -
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.