
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);
}
Содержание E2094S
Страница 6: ...6 Agilent VISA User s Guide ...
Страница 116: ...116 Agilent VISA User s Guide 4 Programming via GPIB and VXI ...
Страница 126: ...126 Agilent VISA User s Guide 5 Programming via LAN ...
Страница 143: ...Glossary Agilent VISA User s Guide 143 Windows notification area See notification area ...
Страница 144: ...144 Agilent VISA User s Guide Glossary ...