Adding a Parameter
From Solution Explorer, double-click the Driver Designer node under the Nimbus node.
The IVI.NET Driver Designer tree view opens.
Expand the root node, which will be named after the driver assembly (e.g.: Acme.Acme4321).
Locate and then select the desired method from the tree view.
A new parameter is added with a default name and the tree node enters edit mode. By default the parameter type is Double.
With the parameter node still in edit mode, type the desired name of the parameter followed by a colon (:) followed by the name of the desired type, and hit the Enter key. The colon and type can be excluded if the desired type is Double.
Refer to the help topic Understanding Type Name Resolution in Nimbus for more information regarding how Nimbus resolves type names entered into the designer.
When choosing a parameter name, the following naming rules apply:
The name must be unique within its parent method.
The name must contain only alphanumeric characters.
Spaces are not allowed.
The name must begin with an alphabetic character.
After the parameter is added, the IVI.NET Parameter General Editor appears in the right portion of the IVI.NET Driver Designer. See the help topic for that Item Editor for details on defining the method further.
If an IVI-C driver is currently linked to the IVI.NET driver via the IVI-C Page of the Driver Settings Editor, then an IVI-C parameter is automatically created at this time and linked to the IVI.NET parameter. For array parameters, Nimbus automatically generates an extra IVI-C buffer size parameter to indicate the size of the array on input. If the array is an Output or Input/Output, Nimbus also generates an IVI-C actual size parameter to indicate the size of the array returned from the driver method.
To view the linked IVI-C parameter, navigate to the parent method or property, right-click the IVI.NET method, and choose Go to IVI-C Function.
Download a complete CHM version of this documentation here.