ProSoft Technology MVI56E-LDM User Manual
Page 133
Advertising

ControlLogix Platform ♦ "C" Programmable
CIP API Functions
Linux Application Development Module
Developer's Manual
ProSoft Technology, Inc.
Page 127 of 264
March 12, 2014
WORD symId;
int rc;
rc - OCXcip_GetSymbolInfo(hApi, hTagDb, symId, &symInfo);
if ( rc == OCX_SUCCESS && symInfo.hStruct !=0)
{
rc = OCXcip_GetStructInfo (hApi, hTagDb, symInfo.hStruct, &structInfo);
if (rc == OCX_SUCCESS)
{
printf("Structure name = [%s]\n", structInfo.name);
printf("type = %04X\n", structInfo.daType);
printf("size = %d\n", structInfo.daSize);
printf("numMbr = %d\n",structInfo.structInfo.numMbr);
}
}
See Also
OCXcip_BuildTagDb , OCXcip_TestTagDbVer , OCXcip_GetSymbolInfo ,
OCXcip_GetStructMbrInfo
Advertising