beautypg.com

ProSoft Technology MVI56E-LDM User Manual

Page 180

background image

CIP API Functions

ControlLogix Platform ♦ "C" Programmable

Developer's Manual

Linux Application Development Module

Page 174 of 264

ProSoft Technology, Inc.

March 12, 2014

OCX_ERR_NOACCESS

apihandle

does not have access

Example

OCXCIPHANDLE apihandle;
DWORD msgHangle;
BYTE serviceCode;
BYTE rspdata [100];

//At this point assume that a message has previously
//been received via the service_proc callback. The
//service code and message handle were saved there.

OCXcip_msgResponse (apiHandle,
msgHandle,
serviceCode,
rspdata,
100,
OCX_SUCCESS,
0);

See Also
service_proc