Prosoft-technology MVI56E-LDM Manuale Utente Pagina 133

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 264
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 263 264

Commenti su questo manuale

Nessun commento