Gw-instek GDS-800 Series Programming Manual Bedienungsanleitung Seite 86

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 89
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
}
}
Seitenansicht 85
1 2 ... 81 82 83 84 85 86 87 88 89

Kommentare zu diesen Handbüchern

Keine Kommentare