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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 155
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 100
OC_InitScanner Library of Routines 6–47
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;
OCINIT scaninit;
int retcode;
scaninit.InputImageSize = 128; /* 64 words for input image */
scaninit.OutputImageSize = 128; /* 64 words for output image */
scaninit.HostRetentiveDataSize = 500; /* 256 words for host data area */
retcode = OC_InitScanner( Handle, &scaninit );
Name: Value: Description:
SUCCESS
0
scanner was initialized successfully
ERR_OCACCESS
2
handle does not have access to the scanner
ERR_OCMEM
3
shared memory not found
ERR_OCPAR
6
initialization failed due to invalid partition information
ERR_OCPOST
7
POST in progress or scanner POST failed, see OC_GetScannerStatus
ERR_OCREINIT
4
scanner has already been initialized
ERR_OCRESPONSE
10
scanner did not respond to request
Vista de pagina 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 154 155

Comentarios a estos manuales

Sin comentarios