Click or drag to resize

IVI-C Function General Editor

Name

Name of the function. Function names must start with a capital letter and can contain only alphanumeric characters.

Return type

Return type of the function.

If an array is desired, append opening and closing square brakets ([]) to the type name. For example, to have the method return an array of double, enter Double[].

Tip Tip

The following syntax can be used in the Return type text box to create a new enum type and use that enum as the return type all in one operation:

new enum TriggerSource; Internal = 2, External = 0x15, Software = 47

See the topic Defining New Data Types Inline for more information on this feature.

Display

Display name that will be used to identify the function in the function tree.

Repeated capability

The repeated capability with which the function is associated.

Implementation

Choosing the Automatic option instructs Nimbus to automatically generate all of the implementation code needed to implement the IVI-C function by delegating to the associated IVI-COM method. The function implementation will be generated in the <prefix>.nimbus.cpp file. Note that the Automatic implementation option is not available for IVI-C only functions.

Choosing the Manual option requires the driver developer to provide the function implementation. Nimbus will add a stub implementation in the <prefix>.cpp file.

Caution note Caution

When the Implementation setting is changed from Manual to Automatic, Nimbus deletes any manual implementation code in the <prefix>.cpp file. It is important that no code of interest remains in the manual function implementation in the <prefix>.cpp when this setting is changed.

See Also

Download a complete CHM version of this documentation here.