Define VI Prototype Dialog Box
- Updated2025-07-30
- 2 minute(s) read
From the Source Files page of the Shared Library Properties dialog box, select a VI in the Exported VIs listbox and click the Define Prototype button to display this dialog box. The dialog box also displays automatically when you move a VI to the Exported VIs listbox.
Use this dialog box to define the parameters of an exported VI for a shared library.
This dialog box includes the following components:
| Option | Description |
|---|---|
| Function Name | Defines the name of the function in the shared library. |
| Standard Calling Conventions | Sets the function prototype to use standard calling conventions. |
| C Calling Conventions | Sets the function prototype to use C calling conventions. This radio button is enabled by default. |
| Parameters | Lists the current parameters for the VI prototype. You can configure the Parameters list using the following buttons along the right side of the Parameters list. return value is a required parameter that you cannot delete. Note If you want to include a control or indicator as a parameter, you must use the connector pane of the VI to configure it as an input or output.
|
| Current Parameter | Allows you to configure the settings for the selected parameter. Available settings differ depending on the type of parameter. LabVIEW provides only valid settings for each parameter.
|
| Function Prototype | Displays the code generated using the current settings for the function prototype. You cannot edit the code directly in this field. |
| Custom Documentation | Specifies whether to enable the Documentation text box so you can edit the function documentation. |
| Documentation | Specifies the text to use for the function documentation that appears above the function prototype in the generated header file. By default, LabVIEW generates this text from the VI description. LabVIEW does not export VI parameter descriptions to the generated function documentation. |