Agilent Technologies E8462A Bedienungsanleitung Seite 51

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 156
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 50
Using the Multiplexer 49
/* Set Multimeter for 10 triggers */
errStatus = viPrintf(E1412A, “TRIG:COUN 10\n”);
if(VI_SUCCESS > errStatus)
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);
/* Pause until multimeter is ready */
errStatus = viQueryf(E1412A, “*OPC?\n”,”%t”,opc_int);
if(VI_SUCCESS > errStatus)
printf(“ERROR: viQueryf() returned 0x%x\n”,errStatus);
/* Initialize Multimeter, wait for trigger */
errStatus = viPrintf(E1412A, “INIT\n”);
if(VI_SUCCESS > errStatus)
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);
/* Reset E8462A */
errStatus = viPrintf(E8462A,”*RST;*CLS\n”);
if (VI_SUCCESS > errStatus)
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);
/* Enable Trigger Output on TTL2 */
errStatus = viPrintf(E8462A, “OUTP:TTLT0 ON\n”);
if(VI_SUCCESS > errStatus)
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);
/* Set Trigger Input On TTL 1 */
errStatus = viPrintf(E8462A, “TRIG:SOUR TTLT1\n”);
if(VI_SUCCESS > errStatus)
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);
/* Set Multiplexer to 2-Wire mode */
errStatus = viPrintf(E8462A, “ROUT:FUNC ,WIRE2\n”);
if(VI_SUCCESS > errStatus)
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);
/* Set Multiplexer to Voltage mode */
errStatus = viPrintf(E8462A, “SCAN:MODE VOLT\n”);
if(VI_SUCCESS > errStatus){
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);}
/* Enable Analog Bus */
errStatus = viPrintf(E8462A, “SCAN:PORT ABUS\n”);
if(VI_SUCCESS > errStatus){
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);}
/* Set Scan List */
errStatus = viPrintf(E8462A, “SCAN(@100:109)\n”);
if(VI_SUCCESS > errStatus){
printf(“ERROR: viPrintf() returned 0x%x\n”,errStatus);}
Seitenansicht 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 155 156

Kommentare zu diesen Handbüchern

Keine Kommentare