Click or drag to resize

Callback Function General Editor

Name

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

Return type

Return type of the function. Unlike normal IVI-C functions, callback functions can have return types other than ViStatus.

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.

See Also

Download a complete CHM version of this documentation here.