
CIP API Functions ControlLogix Platform ♦ "C" Programmable
Developer's Manual Linux Application Development Module
Page 150 of 264 ProSoft Technology, Inc.
March 12, 2014
returned if path was incorrect
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);
Comentarios a estos manuales