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

  • 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 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
Vue de la page 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 263 264

Commentaires sur ces manuels

Pas de commentaire