Specifications
Interrupt Handling
intr1419.vee: This program operates stand-alone. This is an example program that
shows how to create multiple threads of operation in Agilent VEE to respond to a
FIFO half-full interrupt. It teaches the concept of interrupt driven programming.
The example temp1419.vee also incorporates a slightly different version of interrupt
processing that can enhance learning.
This example is really quite simple. It’s the technique of knowing how to set up
Agilent VEE to handle interrupts that is tricky. The Interrupt Handler has a
REPEAT loop connected directly to the Spoll object which monitors the GPIB
waiting for the interrupt condition that was configured. The “Set Up E1419" object
shows the necessary SCPI commands to configure for an interrupt, shows a simple
algorithm that places readings into the FIFO and configures the trigger subsystem.
All these topics are covered in Chapter 3 with details about the various SCPI
commands in Chapter 6.
VEE Programming Examples
Interrupt Handling
Chapter 5 161
Figure 5-12: Interrupt Handling Detailed View
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com