Prosoft-technology MVI56E-LDM Bedienungsanleitung Seite 130

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare