Prosoft-technology MVI56E-LDM Manuel d'utilisateur Page 130

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 263 264

Commentaires sur ces manuels

Pas de commentaire