Prosoft-technology MVI56E-LDM Instrukcja Użytkownika Strona 130

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 264
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 263 264

Komentarze do niniejszej Instrukcji

Brak uwag