Rockwell-automation 1747-PCIS API Software - Open Controller Manuel d'utilisateur Page 103

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 174
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 173 174

Commentaires sur ces manuels

Pas de commentaire