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

  • 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 73
Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-6
Clear
Syntax
INT WINAPI Clear(DevHandleT devHandle);
devHandle
refers to either an IEEE 488 hardware interface or an external device. If
devHandle
refers to a hardware interface, then a Device Clear (
DCL
) is sent. If
devHandle
refers to an external device, a Selected Device Clear (
SDC
) is sent.
Returns
-1
if error
Bus States
ATN
DCL
(all devices)
ATN
UNL, MTA, LAG, SDC
(selected device)
Examples
errorcode = Clear(ieee);
Sends the Device Clear (
DCL
) command to the
IEEE interface board.
errorcode = Clear(wave);
Sends the Selected Device Clear (
SDC
) command
to the WAVE device.
errorcode = Clear(dmm);
Sends the Selected Device Clear (
SDC
) command
to the DMM device.
See Also
Reset, ClearList
The
Clear
command causes the Device Clear (
DCL
) bus command to be issued to an interface or a
Selected Device Clear (
SDC
) command to be issued to an external device. IEEE 488 bus devices that
receive a Device Clear or Selected Device Clear command normally reset to their power-on state.
Vue de la page 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 149 150

Commentaires sur ces manuels

Pas de commentaire