Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-62 © National Instruments Corporation
Return Value
nlong Result of the rounding operation.
Example
long n;
n = round (1.2); /* result: 1L */
n = round (1.8); /* result: 2L */
n = round (1.5); /* result: 2L */
n = round (0.5); /* result: 0L */
n = round (-1.2); /* result: -1L */
n = round (-1.8); /* result: -2L */
n = round (-1.5); /* result: -2L */
n = round (-0.5); /* result: 0L */
RunExternalModuleint result = RunExternalModule (int moduleID, char *buffer);
Purpose
Calls the pre-defined entry point function in an external module (see LoadExternalModule).
Parameters
Input moduleID integer ID of loaded module.
buffer string Parameter buffer.
Return Value
result integer Indicates the result of the operation.
Return Codes
0 Success.
-1 Out of memory.
-3 Entry point is undefined.
-4 Invalid file format.
-5 Undefined references.
-8 Cannot open file.
-9 Invalid module ID.