beautypg.com

ProSoft Technology MVI56E-LDM User Manual

Page 121

background image

ControlLogix Platform ♦ "C" Programmable

CIP API Functions

Linux Application Development Module

Developer's Manual

ProSoft Technology, Inc.

Page 115 of 264

March 12, 2014

OCXcip_DeleteTagDbHandle

Syntax

int OCXcip_DeleteTagDbHandle (OCXHANDLE apihandle,
,OCXTAGDBHANDLE TagDbHandle);

Parameters

apihandle

handle returned by previous call to OCXcip_Open

TagDbHandle

Pointer to OCXTAGDBHANDLE instance

Description
This function is used by an application to delete a tag database handle.

tdbHandle

must be a valid handle previously created with

OCXcip_CreateTagDbHandle

.

IMPORTANT: Once the tag database handle is created, this function should be
called when the database is no longer needed.

Return Value

OCX_SUCCESS

ID object was retrieved successfully

OCX_ERR_NOACCESS

apiHandle

does not have access

Example

OCXHANDLE hAPI;
OCXTAGDBHANDLE hTagDb;

OCXcip_DeleteTagDbHandle(hApi, hTagDb);

See Also
OCXcip_CreateTagDbHandle