Prosoft-technology MVI56E-LDM Manual de usuario Pagina 133

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 132
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
Vista de pagina 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 263 264

Comentarios a estos manuales

Sin comentarios