Rockwell-automation 1747-PCIS API Software - Open Controller Manual do Utilizador Página 103

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 174
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 173 174

Comentários a estes Manuais

Sem comentários