Prosoft-technology MVI56E-LDM Manual do Utilizador Página 133

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 263 264

Comentários a estes Manuais

Sem comentários