Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 125

Advertising
background image

OC_SetOutputUpdate Mode

Library of Routines

6–71

Publication 1747-6.5.3 June 1998

Return Value:

Considerations:

Supported in the DOS API library and the Windows NT API library

Example:

HANDLE

Handle;

int

retcode;

retcode = OC_SetOutputUpdateMode( Handle, OUTUPD_NEVER );

/* Must use OC_DemandOutputScan() function to send new output data */

Name:

Value:

Description:

SUCCESS

0

conditional scan was set successfully

ERR_OCACCESS

2

handle

does not have access to the scanner

ERR_OCINIT

5

scanner has not been initialized, see OC_InitScanner

ERR_OCPARAM

8

parameter contains invalid value

Advertising
This manual is related to the following products: