Rockwell-automation 1747-PCINT API Software for 1746 I/O Manual de usuario Pagina 64

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 155
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 63
6–10 Library of Routines OC_DemandOutputScan
Publication 1747-6.5.3 June 1998
OC_DemandOutputScan OC_DemandOutputScan forces the scanner to immediately perform an output scan.
Syntax:
int OC_DemandOutputScan(HANDLE handle, int mode);
Parameters:
Description:
The scanner updates module outputs from the data in the output image. Use OC_WriteOutputImage to write
data to the output image.
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
int retcode;
retcode = OC_DemandOutputScan( Handle, OCWAIT );
Parameter: Description:
handle
Must be a valid handle returned from OC_OpenScanner
mode
If mode is:
OCWAIT OC_DemandOutputScan waits for the output scan to be
completed before returning to the caller.
OCNOWAITOC_DemandOutputScan returns immediately.
Name: Value: Description:
SUCCESS
0
demand output request was successful
ERR_OCACCESS
2
handle does not have access to scanner
ERR_OCRESPONSE
10
scanner did not respond to request
ERR_OCSCANCFG
14
scanner has not been configured
Vista de pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 154 155

Comentarios a estos manuales

Sin comentarios