
ControlLogix Platform ♦ "C" Programmable CIP API Functions
Linux Application Development Module Developer's Manual
ProSoft Technology, Inc. Page 103 of 264
March 12, 2014
OCXcip_ImmediateOutput
Syntax
int OCXcip_ImmediateOutput(OCXHANDLE apihandle,
OCXHANDLE connHandle );
Parameters
handle returned by previous call to OCXcip_Open
handle of open connection
Description
This function causes the output data of an open connection to be queued for
transmission immediately, rather than waiting for the next scheduled
transmission (based on RPI). It is equivalent to the ControlLogix IOT instruction.
apiHandle must be a valid handle return from OCXcip_Open. connHandle must be
a handle passed by the connect_proc callback function.
Return Value
data was read successfully
apihandle does not have access
connHandle or offset/dataSize is invalid
Example
OCXHANDLE apihandle;
OCXHANDLE connHandle;
BYTE buffer[128];
// Update the output data and transmit now
OCXcip_WriterConnected (apiHandle, connHandle, buffer, 0, 128);
OCXcip_ImmediateOutput (apiHandle, connHandle);
See Also
OCXcip_WriteConnected
Comentarios a estos manuales