Right-click a Call Library Function Node on the block diagram and select Configure from the shortcut menu to display this dialog box.
Use this dialog box to specify the library, function, parameters, return value for the object, and calling convention for a call to a shared library. When you click the OK button in the dialog box, LabVIEW updates the object on the block diagram. The object reflects the settings from the dialog box, displaying the correct number of terminals and setting the terminals to the correct data types.
This dialog box includes the following components:
Library Name or PathSpecifies the Library Name or Path for the function you are calling. To make the reference platform independent, use .* for the file extension.
Function NameSpecifies the name of the function you are calling.
Calling ConventionsSpecifies calling conventions for the function. The default is C.
ParameterSpecifies the parameters or the return value. When selected, you can edit the parameter name.
TypeSpecifies the parameter type.
Add a Parameter BeforeAdds a parameter before the current parameter.
Add a Parameter AfterAdds a parameter after the current parameter.
Delete this ParameterRemoves the selected parameter.
Run in UI ThreadControls whether the object runs in the user interface thread or is reentrant. The default is Run in UI Thread. For a Call Library Function object to be reentrant, you must make sure that multiple threads can call the function(s) simultaneously.
Function PrototypeDisplays the C prototype for the function you are building. This is a read-only display.
Refer to the Calling Shared Libraries section of Chapter 2, Shared Libraries (DLLs) in the Using External Code in LabVIEW manual for more information about calling code from text-based programming languages.