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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 264
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 155
CIP API Functions ControlLogix Platform "C" Programmable
Developer's Manual Linux Application Development Module
Page 150 of 264 ProSoft Technology, Inc.
March 12, 2014
OCX_ERR_BADPARAM
returned if path was incorrect
OCX_CIP_INVALID_REQUEST
The device does not support the requested object
Example
OCXHANDLE apihandle;
OCXCIPEXDEVOBJ exdevobject;
BYTE Path[]="p:1,s:0";
// Read Extended Device object from 5550 in slot 0
OCXcip_GetExDevObject(apihandle, &Path, &exdevobject, 5000);
printf ("\nDevice Name: %s", exdevobject.Name);
printf("\nDescription: %s", exdevobject.Description);
Przeglądanie stron 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 263 264

Komentarze do niniejszej Instrukcji

Brak uwag