Measurement-computing Personal488 rev.3.0 Manuel d'utilisateur Page 126

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 150
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 125
Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-58
TimeOut
Syntax
INT WINAPI TimeOut(DevHandleT devHandle, DWORD millisec);
devHandle
refers to either an IEEE 488 interface or an external device.
millisec
is a numeric value given in milliseconds.
Returns
-1
if error
Bus States
None
Example
errorcode = TimeOut(ieee,100);
Sets the timeout value to 100 msec.
See Also
TimeOutQuery, Reset
The
TimeOut
command sets the number of milliseconds that Driver488 waits for a transfer before
declaring a timeout error. The timeout value sets a limit on the total time allowed for an operation. For
example, when using the Enter command all expected data must be received within the specified timeout
period or a timeout error will occur.
Timeout checking may be suppressed by specifying a timeout value of zero seconds. The zero seconds
specification results in a timeout period of about 49 days.
Vue de la page 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 149 150

Commentaires sur ces manuels

Pas de commentaire