Gw-instek GDS-800 Series Programming Manual Manuel d'utilisateur Page 86

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 89
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 85
GDS-806/810/820/840 Programming Manual
85
ibwrt (Dev, ":SYSTEM:UNLOCK\n",15L); /*Unlock GDS-806/810/820/840
from remote control.*/
printf(":SYSTEM:UNLOCK\n\r");
if((ibsta&ERR)||(ibsta&TIMO)){
ShowIbsta(1);
return 0;
}
ibonl(Dev,0); /*Take the device offline. */
return 1;
}
void Acquire(void)
{
short i, j;
FILE *writeP;
char writeFilename[15] = "wavedata.txt";
short wave;
int tmp, count=0;
ibwrt (Dev, ":ACQUIRE1:POINT\n", 16L);
printf(":ACQUIRE1:POINT\n\r");
Delay(1000);
if((ibsta&ERR)||(ibsta&TIMO)){
ibclr (Dev);
ibwrt (Dev, "*CLS\n", 5L);
ShowIbsta(1);
Delay(100000);
ibwrt (Dev, ":ACQUIRE1:POINT\n", 16L); /*Try again! */
printf(":ACQUIRE1:POINT\n\r");
if((ibsta&ERR)||(ibsta&TIMO)){
ShowIbsta(1);
Delay(100000);
exit (1);
}
}
Vue de la page 85
1 2 ... 81 82 83 84 85 86 87 88 89

Commentaires sur ces manuels

Pas de commentaire