![]() | IVI-C Callback Function General Editor |
Name of the function. Callback function names must start with a capital letter and can contain only alphanumeric characters.
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[].
![]() |
---|
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. |