FP_DestroyIOPoint

FieldPoint LabWindows/CVI Interface

FP_DestroyIOPoint

IAStatus FP_DestroyIOPoint (IAHandle serverHandle, IAHandle IOPointHandle);

Purpose

This function destroys an I/O point handle. Call this function on any handle you created with FP_CreateTagIOPoint. The I/O point handle is no longer valid after a call to this function.

Parameter List

Name Type Description
serverHandle IAHandle Handle to a specific server session. Create the handle with FP_Open.
IOPointHandle IAHandle Handle to an I/O point. FP_CreateTagIOPoint returns the handle.

Return Value

The LabWindows/CVI manager or the server can return the following status codes. FP_ErrorMsg converts the status codes into descriptive strings.

LabWindows/CVI Manager-Level Error Codes 0x8480 IA_MGR_ERROR
0x8484 IA_MGR_SERVER_NOT_LOADED
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.