beautypg.com

ProSoft Technology MVI56E-LDM User Manual

Page 123

background image

ControlLogix Platform ♦ "C" Programmable

CIP API Functions

Linux Application Development Module

Developer's Manual

ProSoft Technology, Inc.

Page 117 of 264

March 12, 2014

Description
This function may be used to change options of the fly but is intended to be
called once immediately after

OCXcip_CreateTagDbHandle()

. All options are off by

default.

Example

OCXHANDLE hAPI;
OCXTAGDBHANDLE hTagDb;
DWORD opts = OCX_CIP_TAGDBOPT_NORM_STRINGS|OCX_XIP_TAFDBOPT_NORM_BOOLS;
int rc;

rc=OCXcip_CreateTagDbHandlSetTagDbOptions(hApi, hTagDb, opts, 4););

if (rc!=OCX_SUCCESS)
{

printf("OCXcip_SetTagDbOpts() error %d\n, rc");
}

else

{
printf("OCXcip_SetTagDbOpts() success\n);
}

See Also
OCXcip_GetSymbolInfo , OCXcip_GetStructInfo , OCXcip_GetStructMbrInfo