Agilent Technologies E2094S Podręcznik Użytkownika Strona 67

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 146
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 66
Programming with VISA 3
Agilent VISA User’s Guide 67
printf("TTL0");
break;
default:
printf("<other 0x%x>",trigId);
break;
}
printf("\n");
/* close the context before continuing */
viClose(eventVi);
/* get second event */
err=viWaitOnEvent(vi, VI_EVENT_TRIG, 10000,
&eventType, &eventVi);
if(err==VI_ERROR_TMO){
printf("Timeout Occurred! Event not
received.\n");
return;
}
printf("Got second event\n");
/* close the context before continuing */
viClose(eventVi);
/* disable event */
viDisableEvent(vi, VI_EVENT_TRIG, VI_QUEUE);
/* close the sessions */
viClose(vi);
viClose(defaultRM);
}
Przeglądanie stron 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 145 146

Komentarze do niniejszej Instrukcji

Brak uwag