Description

The Interrupts procedures allow the application to respond to events such as COM (character received), GPIB SRQ or Timer and user defined events. The user supplies the event and the procedure and ATEasy calls the procedure as the event occurs. The supported events are a subset of the SetInterfaceEvent that has a similar functionality. The internal variable InterruptMask is used to invoke an ATEasy Interrupt, each bit in that variable representing an Interrupt. This variable can be passed as an argument to a DLL procedure so that ATEasy interrupts will be invoked by the DLL procedure at a later time. This is similar to a callback support that is available in later versions of ATEasy.

The EnableInterrupt procedure installs an ATEasy user-defined interrupt subroutine which is called when an interrupt occurs. The DisableInterrupt procedure is used to stop responses to an interrupt call.  

Procedures

The following internal interrupt procedures are defined:
 

DisableInterrupt

EnableInterrupt

SetInterruptMask