FP_Close

FieldPoint LabWindows/CVI Interface

FP_Close

IAStatus FP_Close (IAHandle serverHandle);

Purpose

This function closes a server session. FP_Close stops all running advise tasks on the server you specify. Destroy all I/O points using FP_DestroyIOPoints before you call FP_Close.

Parameter List

Name Type Description
serverHandle IAHandle Handle to a specific server session. Create the handle with FP_Open.

Return Value

The LabWindows/CVI manager or the server can return the following status codes. FP_ErrorMsg converts the status code to a descriptive string.

LabWindows/CVI Manager-Level Error Codes 0x8480 IA_MGR_ERROR
0x8484 IA_MGR_SERVER_NOT_LOADED
0x8485 IA_MGR_DLL_NOT_MAPPED
0x8487 IA_MGR_INVALID_SERVER_HND
FieldPoint Server-Level Standard Error Codes 0x8000 to 0x83FF

Refer to the error section in your server help file for more information.