Rockwell-automation 1747-PCIS API Software - Open Controller Manual de usuario Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 174
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 102
Publication 1747-UM002A-US-P - June 2000
Library of Routines 6-43
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
int retcode;
retcode = OC_OpenScanner(&Handle, 0, 0 );
if OC_OpenScanner(&Handle, 0xC800, IRQ11) ! = SUCCESS)
{printf(‘Scanner could not be opened!\n’);}
OC_PetHostWatchdog
OC_PetHostWatchdog increments the host-to-scanner watchdog
register of the scanner.
Syntax:
void OC_PetHostWatchdog(HANDLE handle);
Parameters:
Description:
OC_PetHostWatchdog must be called at time intervals less than the
timeout value specified in the OC_SetHostWatchdog function.
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
retcode = OC_PetHostWatchdog( Handle );
Parameter: Description:
handle Must be a valid handle returned from OC_OpenScanner
Name: Value: Description:
SUCCESS 0 watchdog was updated successfully
ERR_OCACCESS 2
handle does not have access to scanner
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 173 174

Comentarios a estos manuales

Sin comentarios