Hp IEEE 1394 Manuel d'utilisateur Page 43

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 82
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 42
42 VXI Programming Using the IEEE 1394 Serial Bus Chapter 3
/* query instrument error */
hpe1563_dcl(vi);/* send a device clear */
hpe1563_error_query(vi, &inst_err, err_message);
/* display the error */
printf("Instrument Error : %ld, %s\n", inst_err, err_message);
}
else
{
/* get driver error message */
hpe1563_error_message(vi, errStatus, err_message);
/* display the error */
printf("HP E1563 Driver Error : %ld, %s\n", errStatus, err_message);
}
hpe1563_reset(vi);/* reset the digitizer */
hpe1563_close(vi);/* close the digitizer handle */
exit(1);
}
return;
}
//************************************************************************
// Error handling function
void err_handler (ViSession vi, ViStatus err)
{
char buf[1024]={0};
viStatusDesc(vi,err,buf);
printf("ERROR = %s\n", buf);
return;
}
Comments
1. A single instrument session opened with the hpe1563_init function can be
used by both HP VXIplug&play driver function calls and by HP VISA
function (i.e viMoveIn32) calls.
2. This manual is included on the HP I_O Libraries CD. By viewing the
manual from the CD, you can cut and paste this program into your
development environment.
3. The section “Using HP E8491A Shared Memory” contains an example of
block data transfers using HP SICL.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 81 82

Commentaires sur ces manuels

Pas de commentaire