Prosoft-technology MVI56E-LDM Manuale Utente Pagina 130

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 264
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 129
CIP API Functions ControlLogix Platform "C" Programmable
Developer's Manual Linux Application Development Module
Page 124 of 264 ProSoft Technology, Inc.
March 12, 2014
int rc;
if (OCXcip_BuildTagDb (hApi, hTagDb, &numSyms) == OCX_SUCCESS)
{
for ( symmId = 0; symId < numSyms; symId++)
{
rc = (OCXcip_GetSymbolInfo(hAPi, hTagDB, symID, &symInfo);
if (rc == OCX_SUCCESS)
{
printf("Symbol name = [%s]\n", symInfo.name);
printf("type = %04X\n", symInfo.daType);
printf("hStruct = %d\n", symInfo.hStruct);
printf("ele.Size = %d\n",symInfo.eleSize);
printf("xDim = %d\n", symInfo.xDim);
printf("yDim = %d\n", symInfo.yDim);
printf("zDim = %d\n", symInfo.zDim);
}
}
}
See Also
OCXcip_BuildTagDb , OCXcip_TestTagDbVer , OCXcip_GetStructInfo ,
OCXcip_GetStructMbrInfo
Vedere la pagina 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 263 264

Commenti su questo manuale

Nessun commento